List<Step> getSteps() { if (stepsBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (stepsBuildStage == STAGE_UNINITIALIZED) { stepsBuildStage = STAGE_INITIALIZING; this.steps = createUnmodifiableList(false, createSafeList(getStepsInitialize(), true, false)); stepsBuildStage = STAGE_INITIALIZED; } return this.steps; }
/** * @return The value of the {@code configuredProperties} attribute */ @JsonProperty("configuredProperties") @Override public Map<String, String> getConfiguredProperties() { InitShim shim = this.initShim; return shim != null ? shim.getConfiguredProperties() : this.configuredProperties; }
/** * @return The value of the {@code connections} attribute */ @JsonProperty("connections") @Override public List<Connection> getConnections() { InitShim shim = this.initShim; return shim != null ? shim.getConnections() : this.connections; }
this.name = name; this.resources = createUnmodifiableList(false, createSafeList(resources, true, false)); initShim.isDeleted(this.isDeleted); initShim.steps(this.steps); initShim.flows(this.flows); initShim.connections(this.connections); initShim.configuredProperties(this.configuredProperties); initShim.version(this.version); initShim.createdAt(this.createdAt); initShim.updatedAt(this.updatedAt); initShim.resources(this.resources); this.initShim = null;
this.name = builder.name; if (builder.isDeletedIsSet()) { initShim.isDeleted(builder.isDeleted); initShim.steps(createUnmodifiableList(true, builder.steps)); initShim.flows(createUnmodifiableList(true, builder.flows)); initShim.connections(createUnmodifiableList(true, builder.connections)); initShim.configuredProperties(createUnmodifiableMap(false, false, builder.configuredProperties)); initShim.version(builder.version); initShim.createdAt(builder.createdAt); initShim.updatedAt(builder.updatedAt); initShim.resources(createUnmodifiableList(true, builder.resources)); this.isDeleted = initShim.isDeleted(); this.steps = initShim.getSteps(); this.flows = initShim.getFlows(); this.connections = initShim.getConnections(); this.configuredProperties = initShim.getConfiguredProperties(); this.version = initShim.getVersion(); this.createdAt = initShim.getCreatedAt(); this.updatedAt = initShim.getUpdatedAt(); this.resources = initShim.getResources();
boolean isDeleted() { if (isDeletedBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (isDeletedBuildStage == STAGE_UNINITIALIZED) { isDeletedBuildStage = STAGE_INITIALIZING; this.isDeleted = isDeletedInitialize(); isDeletedBuildStage = STAGE_INITIALIZED; } return this.isDeleted; }
/** * @return The value of the {@code resources} attribute */ @JsonProperty("resources") @Override public List<ResourceIdentifier> getResources() { InitShim shim = this.initShim; return shim != null ? shim.getResources() : this.resources; }
/** * @return The value of the {@code flows} attribute */ @JsonProperty("flows") @Override public List<Flow> getFlows() { InitShim shim = this.initShim; return shim != null ? shim.getFlows() : this.flows; }
long getCreatedAt() { if (createdAtBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (createdAtBuildStage == STAGE_UNINITIALIZED) { createdAtBuildStage = STAGE_INITIALIZING; this.createdAt = getCreatedAtInitialize(); createdAtBuildStage = STAGE_INITIALIZED; } return this.createdAt; }
int getVersion() { if (versionBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (versionBuildStage == STAGE_UNINITIALIZED) { versionBuildStage = STAGE_INITIALIZING; this.version = getVersionInitialize(); versionBuildStage = STAGE_INITIALIZED; } return this.version; }
List<Connection> getConnections() { if (connectionsBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (connectionsBuildStage == STAGE_UNINITIALIZED) { connectionsBuildStage = STAGE_INITIALIZING; this.connections = createUnmodifiableList(false, createSafeList(getConnectionsInitialize(), true, false)); connectionsBuildStage = STAGE_INITIALIZED; } return this.connections; }
List<Flow> getFlows() { if (flowsBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (flowsBuildStage == STAGE_UNINITIALIZED) { flowsBuildStage = STAGE_INITIALIZING; this.flows = createUnmodifiableList(false, createSafeList(getFlowsInitialize(), true, false)); flowsBuildStage = STAGE_INITIALIZED; } return this.flows; }
List<ResourceIdentifier> getResources() { if (resourcesBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (resourcesBuildStage == STAGE_UNINITIALIZED) { resourcesBuildStage = STAGE_INITIALIZING; this.resources = createUnmodifiableList(false, createSafeList(getResourcesInitialize(), true, false)); resourcesBuildStage = STAGE_INITIALIZED; } return this.resources; }
long getUpdatedAt() { if (updatedAtBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (updatedAtBuildStage == STAGE_UNINITIALIZED) { updatedAtBuildStage = STAGE_INITIALIZING; this.updatedAt = getUpdatedAtInitialize(); updatedAtBuildStage = STAGE_INITIALIZED; } return this.updatedAt; }
/** * @return The value of the {@code createdAt} attribute */ @JsonProperty("createdAt") @Override public long getCreatedAt() { InitShim shim = this.initShim; return shim != null ? shim.getCreatedAt() : this.createdAt; }
Map<String, String> getConfiguredProperties() { if (configuredPropertiesBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (configuredPropertiesBuildStage == STAGE_UNINITIALIZED) { configuredPropertiesBuildStage = STAGE_INITIALIZING; this.configuredProperties = createUnmodifiableMap(true, false, getConfiguredPropertiesInitialize()); configuredPropertiesBuildStage = STAGE_INITIALIZED; } return this.configuredProperties; }