Package flexagon.fd.core
Class Environment
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.core.Environment
- All Implemented Interfaces:
Serializable
Represents a FlexDeploy environment, which contains a name, code, and generated id. The name is
the display name shown in the UI, whereas, the code is used within scripts (e.g. Groovy, Shell,
Ant, etc.).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironment(Long pID, String pCode, String pName) Creates an Environment with the given id, code, and name. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the given environment is equal to this one.final StringgetCode()Returns this environment's code namefinal LongReturns this environment's internal idfinal StringgetName()Returns this environment's display nameinthashCode()Returns a hash code value for this environment.toString()Returns custom String representation implemented by walking complete object structure.
-
Constructor Details
-
Environment
Creates an Environment with the given id, code, and name.- Parameters:
pID- the generated primary key for the environmentpCode- the code for the environmentpName- the display name for the environment
-
-
Method Details
-
getEnvironmentID
Returns this environment's internal id- Returns:
- the environment's internal id
-
getCode
Returns this environment's code name- Returns:
- the environment code
-
getName
Returns this environment's display name- Returns:
- the environment display name
-
equals
Returns whether the given environment is equal to this one. -
hashCode
public int hashCode()Returns a hash code value for this environment. This method is supported for the benefit of hash tables such as those provided by HashMap. -
toString
Description copied from class:BasePOJOReturns custom String representation implemented by walking complete object structure.
-