Klasse RestProcessingFacility

java.lang.Object
de.dlr.proseo.facmgr.rest.model.RestProcessingFacility
Alle implementierten Schnittstellen:
Serializable

public class RestProcessingFacility extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected Long id
      The persistent id of this object
    • version

      protected Long version
      A version identifier to track updates to the object (especially to detect concurrent update attempts)
    • name

      protected String name
      The facility name (unique key)
    • facilityState

      protected String facilityState
      The run state the facility currently is in, one of { DISABLED, STOPPED, STARTING, RUNNING, STOPPING }
    • description

      protected String description
      A short description of the processing facility
    • processingEngineUrl

      protected String processingEngineUrl
      The URL to access this facility's processing engine (Kubernetes instance)
    • processingEngineToken

      protected String processingEngineToken
      Authentication token for connecting to this facility's processing engine (Kubernetes instance)
    • maxJobsPerNode

      protected Long maxJobsPerNode
      Maximum number of jobs schedulable per worker node (default 1)
    • storageManagerUrl

      protected String storageManagerUrl
      The URL to access this facility's storage manager from the control instance
    • externalStorageManagerUrl

      protected String externalStorageManagerUrl
      The URL to access this facility's storage manager from an external client (via PRIP API)
    • localStorageManagerUrl

      protected String localStorageManagerUrl
      URL of the locally accessible Storage Manager
    • storageManagerUser

      protected String storageManagerUser
      User name for connecting to the Storage Manager (locally and from external services)
    • storageManagerPassword

      protected String storageManagerPassword
      Password for connecting to the Storage Manager (locally and from external services)
    • defaultStorageType

      protected String defaultStorageType
      The type of the storage
  • Konstruktordetails

    • RestProcessingFacility

      public RestProcessingFacility()
      Creates a new RestProcessingFacility.
    • RestProcessingFacility

      public RestProcessingFacility(Long id, Long version, String name, String facilityState, String description, String processingEngineUrl, String processingEngineToken, Long maxJobsPerNode, String storageManagerUrl, String externalStorageManagerUrl, String localStorageManagerUrl, String storageManagerUser, String storageManagerPassword, String defaultStorageType)
      Creates a new RestProcessingFacility.
  • Methodendetails

    • getId

      public Long getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(Long id)
      Set the id.
      Parameter:
      id - the new id
    • getVersion

      public Long getVersion()
      Returns the version.
      Gibt zurück:
      version
    • setVersion

      public void setVersion(Long version)
      Set the version.
      Parameter:
      version - the new version
    • getName

      @NotNull public @NotNull String getName()
      Returns the name.
      Gibt zurück:
      name
    • setName

      public void setName(String name)
      Set the name.
      Parameter:
      name - the new name
    • getFacilityState

      @NotNull public @NotNull String getFacilityState()
      Returns the facilityState.
      Gibt zurück:
      facilityState
    • setFacilityState

      public void setFacilityState(String facilityState)
      Set the facilityState.
      Parameter:
      facilityState - the new facilityState
    • getDescription

      public String getDescription()
      Returns the description.
      Gibt zurück:
      description
    • setDescription

      public void setDescription(String description)
      Set the description.
      Parameter:
      description - the new description
    • getProcessingEngineUrl

      public String getProcessingEngineUrl()
      Returns the processingEngineUrl.
      Gibt zurück:
      processingEngineUrl
    • setProcessingEngineUrl

      public void setProcessingEngineUrl(String processingEngineUrl)
      Set the processingEngineUrl.
      Parameter:
      processingEngineUrl - the new processingEngineUrl
    • getProcessingEngineToken

      public String getProcessingEngineToken()
      Returns the processingEngineToken.
      Gibt zurück:
      processingEngineToken
    • setProcessingEngineToken

      public void setProcessingEngineToken(String processingEngineToken)
      Set the processingEngineToken.
      Parameter:
      processingEngineToken - the new processingEngineToken
    • getMaxJobsPerNode

      public Long getMaxJobsPerNode()
      Returns the maxJobsPerNode.
      Gibt zurück:
      maxJobsPerNode
    • setMaxJobsPerNode

      public void setMaxJobsPerNode(Long maxJobsPerNode)
      Set the maxJobsPerNode.
      Parameter:
      maxJobsPerNode - the new maxJobsPerNode
    • getStorageManagerUrl

      @NotNull public @NotNull String getStorageManagerUrl()
      Returns the storageManagerUrl.
      Gibt zurück:
      storageManagerUrl
    • setStorageManagerUrl

      public void setStorageManagerUrl(String storageManagerUrl)
      Set the storageManagerUrl.
      Parameter:
      storageManagerUrl - the new storageManagerUrl
    • getExternalStorageManagerUrl

      @NotNull public @NotNull String getExternalStorageManagerUrl()
      Returns the externalStorageManagerUrl.
      Gibt zurück:
      externalStorageManagerUrl
    • setExternalStorageManagerUrl

      public void setExternalStorageManagerUrl(String externalStorageManagerUrl)
      Set the externalStorageManagerUrl.
      Parameter:
      externalStorageManagerUrl - the new externalStorageManagerUrl
    • getLocalStorageManagerUrl

      public String getLocalStorageManagerUrl()
      Returns the localStorageManagerUrl.
      Gibt zurück:
      localStorageManagerUrl
    • setLocalStorageManagerUrl

      public void setLocalStorageManagerUrl(String localStorageManagerUrl)
      Set the localStorageManagerUrl.
      Parameter:
      localStorageManagerUrl - the new localStorageManagerUrl
    • getStorageManagerUser

      @NotNull public @NotNull String getStorageManagerUser()
      Returns the storageManagerUser.
      Gibt zurück:
      storageManagerUser
    • setStorageManagerUser

      public void setStorageManagerUser(String storageManagerUser)
      Set the storageManagerUser.
      Parameter:
      storageManagerUser - the new storageManagerUser
    • getStorageManagerPassword

      @NotNull public @NotNull String getStorageManagerPassword()
      Returns the storageManagerPassword.
      Gibt zurück:
      storageManagerPassword
    • setStorageManagerPassword

      public void setStorageManagerPassword(String storageManagerPassword)
      Set the storageManagerPassword.
      Parameter:
      storageManagerPassword - the new storageManagerPassword
    • getDefaultStorageType

      @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") String getDefaultStorageType()
      Returns the defaultStorageType.
      Gibt zurück:
      defaultStorageType
    • setDefaultStorageType

      public void setDefaultStorageType(String defaultStorageType)
      Set the defaultStorageType.
      Parameter:
      defaultStorageType - the new defaultStorageType
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object