BatchConfigurationProperties Class

public final class BatchConfigurationProperties
extends ArtifactProperties

The batch configuration properties definition.

Constructor Summary

Constructor Description
BatchConfigurationProperties()

Creates an instance of BatchConfigurationProperties class.

Method Summary

Modifier and Type Method and Description
String batchGroupName()

Get the batchGroupName property: The name of the batch group.

static BatchConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of BatchConfigurationProperties from the JsonReader.

BatchReleaseCriteria releaseCriteria()

Get the releaseCriteria property: The batch release criteria.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BatchConfigurationProperties withBatchGroupName(String batchGroupName)

Set the batchGroupName property: The name of the batch group.

BatchConfigurationProperties withChangedTime(OffsetDateTime changedTime)

Set the changedTime property: The artifact changed time.

BatchConfigurationProperties withCreatedTime(OffsetDateTime createdTime)

Set the createdTime property: The artifact creation time.

BatchConfigurationProperties withMetadata(Object metadata)

Set the metadata property: Anything.

BatchConfigurationProperties withReleaseCriteria(BatchReleaseCriteria releaseCriteria)

Set the releaseCriteria property: The batch release criteria.

Methods inherited from ArtifactProperties

Methods inherited from java.lang.Object

Constructor Details

BatchConfigurationProperties

public BatchConfigurationProperties()

Creates an instance of BatchConfigurationProperties class.

Method Details

batchGroupName

public String batchGroupName()

Get the batchGroupName property: The name of the batch group.

Returns:

the batchGroupName value.

fromJson

public static BatchConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of BatchConfigurationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchConfigurationProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

releaseCriteria

public BatchReleaseCriteria releaseCriteria()

Get the releaseCriteria property: The batch release criteria.

Returns:

the releaseCriteria value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BatchConfigurationProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

BatchConfigurationProperties.validate()

withBatchGroupName

public BatchConfigurationProperties withBatchGroupName(String batchGroupName)

Set the batchGroupName property: The name of the batch group.

Parameters:

batchGroupName - the batchGroupName value to set.

Returns:

the BatchConfigurationProperties object itself.

withChangedTime

public BatchConfigurationProperties withChangedTime(OffsetDateTime changedTime)

Set the changedTime property: The artifact changed time.

Overrides:

BatchConfigurationProperties.withChangedTime(OffsetDateTime changedTime)

Parameters:

changedTime

withCreatedTime

public BatchConfigurationProperties withCreatedTime(OffsetDateTime createdTime)

Set the createdTime property: The artifact creation time.

Overrides:

BatchConfigurationProperties.withCreatedTime(OffsetDateTime createdTime)

Parameters:

createdTime

withMetadata

public BatchConfigurationProperties withMetadata(Object metadata)

Set the metadata property: Anything.

Overrides:

BatchConfigurationProperties.withMetadata(Object metadata)

Parameters:

metadata

withReleaseCriteria

public BatchConfigurationProperties withReleaseCriteria(BatchReleaseCriteria releaseCriteria)

Set the releaseCriteria property: The batch release criteria.

Parameters:

releaseCriteria - the releaseCriteria value to set.

Returns:

the BatchConfigurationProperties object itself.

Applies to