Class SourceUploadedUserSourceInfo


public final class SourceUploadedUserSourceInfo extends UploadedUserSourceInfo
Uploaded Java source code binary for a deployment.
  • Constructor Details

    • SourceUploadedUserSourceInfo

      public SourceUploadedUserSourceInfo()
  • Method Details

    • artifactSelector

      public String artifactSelector()
      Get the artifactSelector property: Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
      Returns:
      the artifactSelector value.
    • withArtifactSelector

      public SourceUploadedUserSourceInfo withArtifactSelector(String artifactSelector)
      Set the artifactSelector property: Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
      Parameters:
      artifactSelector - the artifactSelector value to set.
      Returns:
      the SourceUploadedUserSourceInfo object itself.
    • runtimeVersion

      public String runtimeVersion()
      Get the runtimeVersion property: Runtime version of the source file.
      Returns:
      the runtimeVersion value.
    • withRuntimeVersion

      public SourceUploadedUserSourceInfo withRuntimeVersion(String runtimeVersion)
      Set the runtimeVersion property: Runtime version of the source file.
      Parameters:
      runtimeVersion - the runtimeVersion value to set.
      Returns:
      the SourceUploadedUserSourceInfo object itself.
    • withRelativePath

      public SourceUploadedUserSourceInfo withRelativePath(String relativePath)
      Set the relativePath property: Relative path of the storage which stores the source.
      Overrides:
      withRelativePath in class UploadedUserSourceInfo
      Parameters:
      relativePath - the relativePath value to set.
      Returns:
      the UploadedUserSourceInfo object itself.
    • withVersion

      public SourceUploadedUserSourceInfo withVersion(String version)
      Set the version property: Version of the source.
      Overrides:
      withVersion in class UploadedUserSourceInfo
      Parameters:
      version - the version value to set.
      Returns:
      the UserSourceInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class UploadedUserSourceInfo
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.