Class JarUploadedUserSourceInfo


public final class JarUploadedUserSourceInfo extends UploadedUserSourceInfo
Uploaded Jar binary for a deployment.
  • Constructor Details

    • JarUploadedUserSourceInfo

      public JarUploadedUserSourceInfo()
  • Method Details

    • runtimeVersion

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

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

      public String jvmOptions()
      Get the jvmOptions property: JVM parameter.
      Returns:
      the jvmOptions value.
    • withJvmOptions

      public JarUploadedUserSourceInfo withJvmOptions(String jvmOptions)
      Set the jvmOptions property: JVM parameter.
      Parameters:
      jvmOptions - the jvmOptions value to set.
      Returns:
      the JarUploadedUserSourceInfo object itself.
    • withRelativePath

      public JarUploadedUserSourceInfo 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 JarUploadedUserSourceInfo 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.