Class ClusterEntity
java.lang.Object
com.netflix.genie.web.data.services.impl.jpa.entities.IdEntity
com.netflix.genie.web.data.services.impl.jpa.entities.AuditEntity
com.netflix.genie.web.data.services.impl.jpa.entities.UniqueIdEntity
com.netflix.genie.web.data.services.impl.jpa.entities.BaseEntity
com.netflix.genie.web.data.services.impl.jpa.entities.ClusterEntity
- All Implemented Interfaces:
AuditProjection
,BaseProjection
,IdProjection
,SetupFileProjection
,UniqueIdProjection
,Serializable
Representation of the state of the Cluster object.
- Since:
- 2.0.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of theEntityGraph
which will eagerly load everything needed to construct a Cluster DTO. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setConfigs
(Set<FileEntity> configs) Set all the files associated as configuration files for this cluster.void
setDependencies
(Set<FileEntity> dependencies) Set all the files associated as dependency files for this cluster.void
Set all the tags associated to this cluster.Methods inherited from class com.netflix.genie.web.data.services.impl.jpa.entities.BaseEntity
getDescription, getMetadata, getSetupFile, setDescription, setMetadata, setSetupFile
Methods inherited from class com.netflix.genie.web.data.services.impl.jpa.entities.AuditEntity
getCreated, getUpdated, onCreateBaseEntity, onUpdateBaseEntity
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.AuditProjection
getCreated, getUpdated
Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.BaseProjection
getName, getStatus, getUser, getVersion
Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.IdProjection
getId
Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.UniqueIdProjection
getUniqueId
-
Field Details
-
DTO_ENTITY_GRAPH
The name of theEntityGraph
which will eagerly load everything needed to construct a Cluster DTO.- See Also:
-
-
Constructor Details
-
ClusterEntity
public ClusterEntity()Default Constructor.
-
-
Method Details
-
setConfigs
Set all the files associated as configuration files for this cluster.- Parameters:
configs
- The configuration files to set
-
setDependencies
Set all the files associated as dependency files for this cluster.- Parameters:
dependencies
- The dependency files to set
-
setTags
Set all the tags associated to this cluster.- Parameters:
tags
- The dependency tags to set
-
equals
- Overrides:
equals
in classBaseEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseEntity
-