AssemblyProperties Class

public final class AssemblyProperties
extends ArtifactContentPropertiesDefinition

The assembly properties definition.

Constructor Summary

Constructor Description
AssemblyProperties()

Creates an instance of AssemblyProperties class.

Method Summary

Modifier and Type Method and Description
String assemblyCulture()

Get the assemblyCulture property: The assembly culture.

String assemblyName()

Get the assemblyName property: The assembly name.

String assemblyPublicKeyToken()

Get the assemblyPublicKeyToken property: The assembly public key token.

String assemblyVersion()

Get the assemblyVersion property: The assembly version.

void validate()

Validates the instance.

AssemblyProperties withAssemblyCulture(String assemblyCulture)

Set the assemblyCulture property: The assembly culture.

AssemblyProperties withAssemblyName(String assemblyName)

Set the assemblyName property: The assembly name.

AssemblyProperties withAssemblyPublicKeyToken(String assemblyPublicKeyToken)

Set the assemblyPublicKeyToken property: The assembly public key token.

AssemblyProperties withAssemblyVersion(String assemblyVersion)

Set the assemblyVersion property: The assembly version.

AssemblyProperties withChangedTime(OffsetDateTime changedTime)

Set the changedTime property: The artifact changed time.

AssemblyProperties withContent(Object content)

Set the content property: Anything.

AssemblyProperties withContentLink(ContentLink contentLink)

Set the contentLink property: The content link.

AssemblyProperties withContentType(String contentType)

Set the contentType property: The content type.

AssemblyProperties withCreatedTime(OffsetDateTime createdTime)

Set the createdTime property: The artifact creation time.

AssemblyProperties withMetadata(Object metadata)

Set the metadata property: Anything.

Methods inherited from ArtifactContentPropertiesDefinition

Methods inherited from ArtifactProperties

Methods inherited from java.lang.Object

Constructor Details

AssemblyProperties

public AssemblyProperties()

Creates an instance of AssemblyProperties class.

Method Details

assemblyCulture

public String assemblyCulture()

Get the assemblyCulture property: The assembly culture.

Returns:

the assemblyCulture value.

assemblyName

public String assemblyName()

Get the assemblyName property: The assembly name.

Returns:

the assemblyName value.

assemblyPublicKeyToken

public String assemblyPublicKeyToken()

Get the assemblyPublicKeyToken property: The assembly public key token.

Returns:

the assemblyPublicKeyToken value.

assemblyVersion

public String assemblyVersion()

Get the assemblyVersion property: The assembly version.

Returns:

the assemblyVersion value.

validate

public void validate()

Validates the instance.

Overrides:

AssemblyProperties.validate()

withAssemblyCulture

public AssemblyProperties withAssemblyCulture(String assemblyCulture)

Set the assemblyCulture property: The assembly culture.

Parameters:

assemblyCulture - the assemblyCulture value to set.

Returns:

the AssemblyProperties object itself.

withAssemblyName

public AssemblyProperties withAssemblyName(String assemblyName)

Set the assemblyName property: The assembly name.

Parameters:

assemblyName - the assemblyName value to set.

Returns:

the AssemblyProperties object itself.

withAssemblyPublicKeyToken

public AssemblyProperties withAssemblyPublicKeyToken(String assemblyPublicKeyToken)

Set the assemblyPublicKeyToken property: The assembly public key token.

Parameters:

assemblyPublicKeyToken - the assemblyPublicKeyToken value to set.

Returns:

the AssemblyProperties object itself.

withAssemblyVersion

public AssemblyProperties withAssemblyVersion(String assemblyVersion)

Set the assemblyVersion property: The assembly version.

Parameters:

assemblyVersion - the assemblyVersion value to set.

Returns:

the AssemblyProperties object itself.

withChangedTime

public AssemblyProperties withChangedTime(OffsetDateTime changedTime)

Set the changedTime property: The artifact changed time.

Overrides:

AssemblyProperties.withChangedTime(OffsetDateTime changedTime)

Parameters:

changedTime

withContent

public AssemblyProperties withContent(Object content)

Set the content property: Anything.

Overrides:

AssemblyProperties.withContent(Object content)

Parameters:

content

withContentLink

public AssemblyProperties withContentLink(ContentLink contentLink)

Set the contentLink property: The content link.

Overrides:

AssemblyProperties.withContentLink(ContentLink contentLink)

Parameters:

contentLink

withContentType

public AssemblyProperties withContentType(String contentType)

Set the contentType property: The content type.

Overrides:

AssemblyProperties.withContentType(String contentType)

Parameters:

contentType

withCreatedTime

public AssemblyProperties withCreatedTime(OffsetDateTime createdTime)

Set the createdTime property: The artifact creation time.

Overrides:

AssemblyProperties.withCreatedTime(OffsetDateTime createdTime)

Parameters:

createdTime

withMetadata

public AssemblyProperties withMetadata(Object metadata)

Set the metadata property: Anything.

Overrides:

AssemblyProperties.withMetadata(Object metadata)

Parameters:

metadata

Applies to