Class NotifEnvironment
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifEnvironment
- All Implemented Interfaces:
Serializable
Represents a FlexDeploy environment. For use within Notification Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifEnvironment(EnvironmentDetails pEnvDetails) Create an instance of this object from the information stored in the database/cache. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the code of the environment.getId()Returns the internal generated id of the environment.getName()Returns the display name of the environment.Returns the numeric sort numbe that is defined for this environment.booleanisActive()Returns whether this environment is active or not.booleanReturns whether this environment is a build environment.
-
Constructor Details
-
NotifEnvironment
Create an instance of this object from the information stored in the database/cache.- Parameters:
pEnvDetails- An object containing details of the environment
-
-
Method Details
-
getId
Returns the internal generated id of the environment.- Returns:
- The internal generated identifier of the environment.
-
getCode
Returns the code of the environment.- Returns:
- The code of the environment.
-
getName
Returns the display name of the environment.- Returns:
- The display name of the environment.
-
isBuildEnvironment
public boolean isBuildEnvironment()Returns whether this environment is a build environment.- Returns:
- Whether this environment is a build environment.
-
getSortNumber
Returns the numeric sort numbe that is defined for this environment.- Returns:
- The sort order for this environment.
-
isActive
public boolean isActive()Returns whether this environment is active or not.- Returns:
- Whether this environment is active or not.
-