Class NetCoreZipUploadedUserSourceInfo


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

    • NetCoreZipUploadedUserSourceInfo

      public NetCoreZipUploadedUserSourceInfo()
      Creates an instance of NetCoreZipUploadedUserSourceInfo class.
  • Method Details

    • netCoreMainEntryPath

      public String netCoreMainEntryPath()
      Get the netCoreMainEntryPath property: The path to the .NET executable relative to zip root.
      Returns:
      the netCoreMainEntryPath value.
    • withNetCoreMainEntryPath

      public NetCoreZipUploadedUserSourceInfo withNetCoreMainEntryPath(String netCoreMainEntryPath)
      Set the netCoreMainEntryPath property: The path to the .NET executable relative to zip root.
      Parameters:
      netCoreMainEntryPath - the netCoreMainEntryPath value to set.
      Returns:
      the NetCoreZipUploadedUserSourceInfo object itself.
    • runtimeVersion

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

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

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