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; }
/** * @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; }
/** * @return The value of the {@code currentState} attribute */ @JsonProperty("currentState") @Override public IntegrationDeploymentState getCurrentState() { InitShim shim = this.initShim; return shim != null ? shim.getCurrentState() : this.currentState; }
this.createdAt = createdAt; this.updatedAt = updatedAt; initShim.integrationId(this.integrationId); initShim.currentState(this.currentState); initShim.targetState(this.targetState); initShim.stepsDone(this.stepsDone); initShim.version(this.version); initShim.createdAt(this.createdAt); initShim.updatedAt(this.updatedAt); this.initShim = null;
this.id = builder.id; if (builder.integrationId != null) { initShim.integrationId(builder.integrationId); initShim.currentState(builder.currentState); initShim.targetState(builder.targetState); initShim.stepsDone(createUnmodifiableMap(false, false, builder.stepsDone)); initShim.version(builder.version); initShim.createdAt(builder.createdAt); initShim.updatedAt(builder.updatedAt); this.integrationId = initShim.getIntegrationId(); this.currentState = initShim.getCurrentState(); this.targetState = initShim.getTargetState(); this.stepsDone = initShim.getStepsDone(); this.version = initShim.getVersion(); this.createdAt = initShim.getCreatedAt(); this.updatedAt = initShim.getUpdatedAt(); this.initShim = null;
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; }
Optional<String> getIntegrationId() { if (integrationIdBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (integrationIdBuildStage == STAGE_UNINITIALIZED) { integrationIdBuildStage = STAGE_INITIALIZING; this.integrationId = Objects.requireNonNull(getIntegrationIdInitialize(), "integrationId"); integrationIdBuildStage = STAGE_INITIALIZED; } return this.integrationId; }
/** * @return The value of the {@code version} attribute */ @JsonProperty("version") @Override public int getVersion() { InitShim shim = this.initShim; return shim != null ? shim.getVersion() : this.version; }
/** * @return The value of the {@code targetState} attribute */ @JsonProperty("targetState") @Override public IntegrationDeploymentState getTargetState() { InitShim shim = this.initShim; return shim != null ? shim.getTargetState() : this.targetState; }
/** * @return The value of the {@code integrationId} attribute */ @JsonProperty("integrationId") @Override public Optional<String> getIntegrationId() { InitShim shim = this.initShim; return shim != null ? shim.getIntegrationId() : this.integrationId; }
Map<String, String> getStepsDone() { if (stepsDoneBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (stepsDoneBuildStage == STAGE_UNINITIALIZED) { stepsDoneBuildStage = STAGE_INITIALIZING; this.stepsDone = createUnmodifiableMap(true, false, getStepsDoneInitialize()); stepsDoneBuildStage = STAGE_INITIALIZED; } return this.stepsDone; }
IntegrationDeploymentState getTargetState() { if (targetStateBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (targetStateBuildStage == STAGE_UNINITIALIZED) { targetStateBuildStage = STAGE_INITIALIZING; this.targetState = Objects.requireNonNull(getTargetStateInitialize(), "targetState"); targetStateBuildStage = STAGE_INITIALIZED; } return this.targetState; }
/** * @return The value of the {@code stepsDone} attribute */ @JsonProperty("stepsDone") @Override public Map<String, String> getStepsDone() { InitShim shim = this.initShim; return shim != null ? shim.getStepsDone() : this.stepsDone; }
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; }
IntegrationDeploymentState getCurrentState() { if (currentStateBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (currentStateBuildStage == STAGE_UNINITIALIZED) { currentStateBuildStage = STAGE_INITIALIZING; this.currentState = Objects.requireNonNull(getCurrentStateInitialize(), "currentState"); currentStateBuildStage = STAGE_INITIALIZED; } return this.currentState; }
/** * @return The value of the {@code updatedAt} attribute */ @JsonProperty("updatedAt") @Override public long getUpdatedAt() { InitShim shim = this.initShim; return shim != null ? shim.getUpdatedAt() : this.updatedAt; }