@@ -15,7 +15,7 @@ import org.eclipse.hawkbit.repository.model.DistributionSetType;
|
||||
* Repository constants.
|
||||
*
|
||||
*/
|
||||
public final class Constants {
|
||||
public final class RepositoryConstants {
|
||||
|
||||
/**
|
||||
* Prefix that the server puts in front of
|
||||
@@ -30,7 +30,7 @@ public final class Constants {
|
||||
*/
|
||||
public static final int DEFAULT_DS_TYPES_IN_TENANT = 2;
|
||||
|
||||
private Constants() {
|
||||
private RepositoryConstants() {
|
||||
// Utility class.
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public interface SystemManagement {
|
||||
/**
|
||||
* Returns {@link TenantMetaData} of given and current tenant. Creates for
|
||||
* new tenants also two {@link SoftwareModuleType} (os and app) and
|
||||
* {@link Constants#DEFAULT_DS_TYPES_IN_TENANT} {@link DistributionSetType}s
|
||||
* {@link RepositoryConstants#DEFAULT_DS_TYPES_IN_TENANT} {@link DistributionSetType}s
|
||||
* (os and os_app).
|
||||
*
|
||||
* DISCLAIMER: this variant is used during initial login (where the tenant
|
||||
|
||||
@@ -601,4 +601,4 @@ public interface TargetManagement {
|
||||
+ SpringEvalExpressions.IS_CONTROLLER)
|
||||
List<Target> updateTargets(@NotNull Collection<Target> targets);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,4 +45,4 @@ public interface ActionWithStatusCount {
|
||||
*/
|
||||
String getRolloutName();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,4 +39,4 @@ public interface Artifact extends TenantAwareBaseEntity {
|
||||
*/
|
||||
Long getSize();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,4 +46,4 @@ public interface BaseEntity extends Serializable, Identifiable<Long> {
|
||||
*/
|
||||
long getOptLockRevision();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,4 +129,4 @@ public interface DistributionSet extends NamedVersionedEntity {
|
||||
*/
|
||||
boolean isComplete();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,4 @@ public interface DistributionSetMetadata extends MetaData {
|
||||
*/
|
||||
DistributionSet getDistributionSet();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,4 @@ public interface DistributionSetTag extends Tag {
|
||||
*/
|
||||
List<DistributionSet> getAssignedToDistributionSet();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -170,4 +170,4 @@ public interface DistributionSetType extends NamedEntity {
|
||||
*/
|
||||
void setColour(final String colour);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,4 +38,4 @@ public interface ExternalArtifact extends Artifact {
|
||||
*/
|
||||
void setUrlSuffix(String urlSuffix);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,4 +36,4 @@ public interface MetaData extends Serializable {
|
||||
*/
|
||||
void setValue(String value);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,4 +25,4 @@ public interface NamedVersionedEntity extends NamedEntity {
|
||||
*/
|
||||
void setVersion(String version);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ package org.eclipse.hawkbit.repository.model;
|
||||
* Repository model constants.
|
||||
*
|
||||
*/
|
||||
public final class Constants {
|
||||
public final class RepositoryModelConstants {
|
||||
|
||||
/**
|
||||
* indicating that target action has no force time which is only needed in
|
||||
@@ -20,7 +20,7 @@ public final class Constants {
|
||||
*/
|
||||
public static final Long NO_FORCE_TIME = 0L;
|
||||
|
||||
private Constants() {
|
||||
private RepositoryModelConstants() {
|
||||
// Utility class.
|
||||
}
|
||||
|
||||
@@ -156,4 +156,4 @@ public interface Rollout extends NamedEntity {
|
||||
ERROR_STARTING;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -108,4 +108,4 @@ public interface SoftwareModule extends NamedVersionedEntity {
|
||||
*/
|
||||
List<DistributionSet> getAssignedTo();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,4 +25,4 @@ public interface SoftwareModuleMetadata extends MetaData {
|
||||
*/
|
||||
void setSoftwareModule(SoftwareModule softwareModule);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,4 +57,4 @@ public interface SoftwareModuleType extends NamedEntity {
|
||||
*/
|
||||
void setColour(final String colour);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,4 +24,4 @@ public interface Tag extends NamedEntity {
|
||||
*/
|
||||
void setColour(String colour);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,4 +56,4 @@ public interface TargetFilterQuery extends TenantAwareBaseEntity {
|
||||
*/
|
||||
void setQuery(String query);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,4 +68,4 @@ public interface TargetInfo extends Serializable {
|
||||
*/
|
||||
boolean isRequestControllerAttributes();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,4 +21,4 @@ public interface TargetTag extends Tag {
|
||||
*/
|
||||
List<Target> getAssignedToTargets();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ public class TargetWithActionStatus {
|
||||
|
||||
private Target target;
|
||||
|
||||
private Status status = null;
|
||||
private Status status;
|
||||
|
||||
public TargetWithActionStatus(final Target target) {
|
||||
this.target = target;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class TargetWithActionType {
|
||||
if (actionType == ActionType.TIMEFORCED) {
|
||||
return forceTime;
|
||||
}
|
||||
return Constants.NO_FORCE_TIME;
|
||||
return RepositoryModelConstants.NO_FORCE_TIME;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,4 +19,4 @@ public interface TenantAwareBaseEntity extends BaseEntity {
|
||||
*/
|
||||
String getTenant();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,4 @@ public interface TenantConfiguration extends TenantAwareBaseEntity {
|
||||
*/
|
||||
void setValue(String value);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,4 +31,4 @@ public interface TenantMetaData extends BaseEntity {
|
||||
*/
|
||||
String getTenant();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user