Package de.dlr.proseo.facmgr.rest.model
Klasse RestProcessingFacility
java.lang.Object
de.dlr.proseo.facmgr.rest.model.RestProcessingFacility
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected String
The type of the storageprotected String
A short description of the processing facilityprotected String
The URL to access this facility's storage manager from an external client (via PRIP API)protected String
The run state the facility currently is in, one of { DISABLED, STOPPED, STARTING, RUNNING, STOPPING }protected Long
The persistent id of this objectprotected String
URL of the locally accessible Storage Managerprotected Long
Maximum number of jobs schedulable per worker node (default 1)protected String
The facility name (unique key)protected String
Authentication token for connecting to this facility's processing engine (Kubernetes instance)protected String
The URL to access this facility's processing engine (Kubernetes instance)(Package privat) static final long
protected String
Password for connecting to the Storage Manager (locally and from external services)protected String
The URL to access this facility's storage manager from the control instanceprotected String
User name for connecting to the Storage Manager (locally and from external services)protected Long
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new RestProcessingFacility.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. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
@NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") String
Returns the defaultStorageType.Returns the description.@NotNull String
Returns the externalStorageManagerUrl.@NotNull String
Returns the facilityState.getId()
Returns the id.Returns the localStorageManagerUrl.Returns the maxJobsPerNode.@NotNull String
getName()
Returns the name.Returns the processingEngineToken.Returns the processingEngineUrl.@NotNull String
Returns the storageManagerPassword.@NotNull String
Returns the storageManagerUrl.@NotNull String
Returns the storageManagerUser.Returns the version.int
hashCode()
void
setDefaultStorageType
(String defaultStorageType) Set the defaultStorageType.void
setDescription
(String description) Set the description.void
setExternalStorageManagerUrl
(String externalStorageManagerUrl) Set the externalStorageManagerUrl.void
setFacilityState
(String facilityState) Set the facilityState.void
Set the id.void
setLocalStorageManagerUrl
(String localStorageManagerUrl) Set the localStorageManagerUrl.void
setMaxJobsPerNode
(Long maxJobsPerNode) Set the maxJobsPerNode.void
Set the name.void
setProcessingEngineToken
(String processingEngineToken) Set the processingEngineToken.void
setProcessingEngineUrl
(String processingEngineUrl) Set the processingEngineUrl.void
setStorageManagerPassword
(String storageManagerPassword) Set the storageManagerPassword.void
setStorageManagerUrl
(String storageManagerUrl) Set the storageManagerUrl.void
setStorageManagerUser
(String storageManagerUser) Set the storageManagerUser.void
setVersion
(Long version) Set the version.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
name
The facility name (unique key) -
facilityState
The run state the facility currently is in, one of { DISABLED, STOPPED, STARTING, RUNNING, STOPPING } -
description
A short description of the processing facility -
processingEngineUrl
The URL to access this facility's processing engine (Kubernetes instance) -
processingEngineToken
Authentication token for connecting to this facility's processing engine (Kubernetes instance) -
maxJobsPerNode
Maximum number of jobs schedulable per worker node (default 1) -
storageManagerUrl
The URL to access this facility's storage manager from the control instance -
externalStorageManagerUrl
The URL to access this facility's storage manager from an external client (via PRIP API) -
localStorageManagerUrl
URL of the locally accessible Storage Manager -
storageManagerUser
User name for connecting to the Storage Manager (locally and from external services) -
storageManagerPassword
Password for connecting to the Storage Manager (locally and from external services) -
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
Returns the id.- Gibt zurück:
- id
-
setId
Set the id.- Parameter:
id
- the new id
-
getVersion
Returns the version.- Gibt zurück:
- version
-
setVersion
Set the version.- Parameter:
version
- the new version
-
getName
Returns the name.- Gibt zurück:
- name
-
setName
Set the name.- Parameter:
name
- the new name
-
getFacilityState
Returns the facilityState.- Gibt zurück:
- facilityState
-
setFacilityState
Set the facilityState.- Parameter:
facilityState
- the new facilityState
-
getDescription
Returns the description.- Gibt zurück:
- description
-
setDescription
Set the description.- Parameter:
description
- the new description
-
getProcessingEngineUrl
Returns the processingEngineUrl.- Gibt zurück:
- processingEngineUrl
-
setProcessingEngineUrl
Set the processingEngineUrl.- Parameter:
processingEngineUrl
- the new processingEngineUrl
-
getProcessingEngineToken
Returns the processingEngineToken.- Gibt zurück:
- processingEngineToken
-
setProcessingEngineToken
Set the processingEngineToken.- Parameter:
processingEngineToken
- the new processingEngineToken
-
getMaxJobsPerNode
Returns the maxJobsPerNode.- Gibt zurück:
- maxJobsPerNode
-
setMaxJobsPerNode
Set the maxJobsPerNode.- Parameter:
maxJobsPerNode
- the new maxJobsPerNode
-
getStorageManagerUrl
Returns the storageManagerUrl.- Gibt zurück:
- storageManagerUrl
-
setStorageManagerUrl
Set the storageManagerUrl.- Parameter:
storageManagerUrl
- the new storageManagerUrl
-
getExternalStorageManagerUrl
Returns the externalStorageManagerUrl.- Gibt zurück:
- externalStorageManagerUrl
-
setExternalStorageManagerUrl
Set the externalStorageManagerUrl.- Parameter:
externalStorageManagerUrl
- the new externalStorageManagerUrl
-
getLocalStorageManagerUrl
Returns the localStorageManagerUrl.- Gibt zurück:
- localStorageManagerUrl
-
setLocalStorageManagerUrl
Set the localStorageManagerUrl.- Parameter:
localStorageManagerUrl
- the new localStorageManagerUrl
-
getStorageManagerUser
Returns the storageManagerUser.- Gibt zurück:
- storageManagerUser
-
setStorageManagerUser
Set the storageManagerUser.- Parameter:
storageManagerUser
- the new storageManagerUser
-
getStorageManagerPassword
Returns the storageManagerPassword.- Gibt zurück:
- storageManagerPassword
-
setStorageManagerPassword
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
Set the defaultStorageType.- Parameter:
defaultStorageType
- the new defaultStorageType
-
hashCode
public int hashCode() -
equals
-
toString
-