Klasse ProcessingFacility

java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.ProcessingFacility

@Entity public class ProcessingFacility extends PersistentObject
A processing facility for running prosEO jobs and storing prosEO product files, e. g. at a cloud service provider.
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • ProcessingFacility

      public ProcessingFacility()
  • Methodendetails

    • getName

      public String getName()
      Gets the name of the processing facility
      Gibt zurück:
      the name
    • setName

      public void setName(String name)
      Sets the name of the processing facility
      Parameter:
      name - the name to set
    • getDescription

      public String getDescription()
      Gets the description of the processing facility
      Gibt zurück:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description of the processing facility
      Parameter:
      description - the description to set
    • getFacilityState

      public FacilityState getFacilityState()
      Gets the run state of the processing facility
      Gibt zurück:
      the facility state
    • setFacilityState

      public void setFacilityState(FacilityState facilityState) throws IllegalStateException
      Sets the run state of the processing facility
      Parameter:
      facilityState - the facility state to set
      Löst aus:
      IllegalStateException - if the intended facility state transition is illegal
    • getProcessingEngineUrl

      public String getProcessingEngineUrl()
      Gets the URL of the facility's processing engine (Kubernetes instance)
      Gibt zurück:
      the URL of the processing engine
    • setProcessingEngineUrl

      public void setProcessingEngineUrl(String processingEngineUrl)
      Sets the URL of the facility's processing engine (Kubernetes instance)
      Parameter:
      processingEngineUrl - the URL of the processing engine to set
    • getProcessingEngineToken

      public String getProcessingEngineToken()
      Gets the authentication token for the processing engine
      Gibt zurück:
      the processing engine token
    • setProcessingEngineToken

      public void setProcessingEngineToken(String processingEngineToken)
      Sets the authentication token for the processing engine
      Parameter:
      processingEngineToken - the processing engine token to set
    • getMaxJobsPerNode

      public Integer getMaxJobsPerNode()
      Gets the maximum number of jobs schedulable per worker node
      Gibt zurück:
      the maximum number of jobs per node
    • setMaxJobsPerNode

      public void setMaxJobsPerNode(Integer maxJobsPerNode)
      Sets the maximum number of jobs schedulable per worker node
      Parameter:
      maxJobsPerNode - the maximum number of jobs per node to set
    • getStorageManagerUrl

      public String getStorageManagerUrl()
      Gets the URL of the facility's storage manager
      Gibt zurück:
      the URL of the storage manager
    • setStorageManagerUrl

      public void setStorageManagerUrl(String storageManagerUrl)
      Sets the URL of the facility's storage manager
      Parameter:
      storageManagerUrl - the URL of the storage manager to set
    • getExternalStorageManagerUrl

      public String getExternalStorageManagerUrl()
      Gets the URL of the facility's storage manager for external clients
      Gibt zurück:
      the externalStorageManagerUrl
    • setExternalStorageManagerUrl

      public void setExternalStorageManagerUrl(String externalStorageManagerUrl)
      Sets the URL of the facility's storage manager for external clients
      Parameter:
      externalStorageManagerUrl - the externalStorageManagerUrl to set
    • getLocalStorageManagerUrl

      public String getLocalStorageManagerUrl()
      Gets the URL of the facility's storage manager for local worker nodes
      Gibt zurück:
      the localStorageManagerUrl
    • setLocalStorageManagerUrl

      public void setLocalStorageManagerUrl(String localStorageManagerUrl)
      Sets the URL of the facility's storage manager for local worker nodes
      Parameter:
      localStorageManagerUrl - the localStorageManagerUrl to set
    • getStorageManagerUser

      public String getStorageManagerUser()
      Gibt zurück:
      the storageManagerUser
    • setStorageManagerUser

      public void setStorageManagerUser(String storageManagerUser)
      Parameter:
      storageManagerUser - the storageManagerUser to set
    • getStorageManagerPassword

      public String getStorageManagerPassword()
      Gibt zurück:
      the storageManagerPassword
    • setStorageManagerPassword

      public void setStorageManagerPassword(String storageManagerPassword)
      Parameter:
      storageManagerPassword - the storageManagerPassword to set
    • getDefaultStorageType

      public StorageType getDefaultStorageType()
      Gets the default storage type of the facility
      Gibt zurück:
      the default storage type
    • setDefaultStorageType

      public void setDefaultStorageType(StorageType defaultStorageType)
      Sets the default storage type of the facility
      Parameter:
      defaultStorageType - the default storage type to set
    • hashCode

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

      public boolean equals(Object obj)
      Beschreibung aus Klasse kopiert: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse PersistentObject
      Parameter:
      obj - the object to compare this object to
      Gibt zurück:
      true, if obj is a persistent object and has the same ID, false otherwise
      Siehe auch:
    • toString

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