Package flexagon.fd.core
Class Instance
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.core.Instance
- All Implemented Interfaces:
Serializable
Represents a FlexDeploy instance, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the given target group is equal to this one.final StringgetCode()Returns this target group's code namefinal LongReturns this instance's internal idfinal StringgetName()Returns this target group's display namefinal LongReturns this target group's internal idinthashCode()Returns a hash code value for this target group.toString()Returns custom String representation implemented by walking complete object structure.
-
Constructor Details
-
Instance
Creates an Instance with the given id, code, and name.- Parameters:
pID- the generated primary key for the instancepCode- the code for the instancepName- the display name for the instance
-
-
Method Details
-
getInstanceID
Returns this instance's internal id- Returns:
- the instance's internal id
-
getTargetGroupId
Returns this target group's internal id- Returns:
- the target group's internal id
-
getCode
Returns this target group's code name- Returns:
- the target group code
-
getName
Returns this target group's display name- Returns:
- the target group display name
-
equals
Returns whether the given target group is equal to this one. -
hashCode
public int hashCode()Returns a hash code value for this target group. 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.
-