Package org.glassfish.api.deployment
Enum Class OpsParams.Origin
- All Implemented Interfaces:
Serializable
,Comparable<OpsParams.Origin>
,java.lang.constant.Constable
- Enclosing class:
OpsParams
There can be so far 6 types of events that can trigger deployment activities.
load when an already deployed application is being reloaded. deploy when a new application is deployed on DAS
deploy_instance when a new application is deployed on instance unload when a loaded application is stopped undeploy
when a deployed application is removed from the system. create_application_ref when an application reference is being
created mt_provision when provisioning an application to tenant mt_unprovision when unprovisioning an application
from tenant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isDeploy()
boolean
isLoad()
boolean
boolean
isUnload()
boolean
static OpsParams.Origin
Returns the enum constant of this class with the specified name.static OpsParams.Origin[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
load
-
deploy
-
deploy_instance
-
unload
-
undeploy
-
create_application_ref
-
mt_provision
-
mt_unprovision
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isDeploy
public boolean isDeploy() -
isLoad
public boolean isLoad() -
isArtifactsPresent
public boolean isArtifactsPresent() -
needsCleanArtifacts
public boolean needsCleanArtifacts() -
isUndeploy
public boolean isUndeploy() -
isUnload
public boolean isUnload() -
isCreateAppRef
public boolean isCreateAppRef()
-