Package org.glassfish.api.deployment
Enum OpsParams.Origin
- java.lang.Object
-
- java.lang.Enum<OpsParams.Origin>
-
- org.glassfish.api.deployment.OpsParams.Origin
-
- All Implemented Interfaces:
Serializable
,Comparable<OpsParams.Origin>
- Enclosing class:
- OpsParams
public static enum OpsParams.Origin extends Enum<OpsParams.Origin>
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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description create_application_ref
deploy
deploy_instance
load
mt_provision
mt_unprovision
undeploy
unload
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isArtifactsPresent()
boolean
isCreateAppRef()
boolean
isDeploy()
boolean
isLoad()
boolean
isUndeploy()
boolean
isUnload()
boolean
needsCleanArtifacts()
static OpsParams.Origin
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpsParams.Origin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
load
public static final OpsParams.Origin load
-
deploy
public static final OpsParams.Origin deploy
-
deploy_instance
public static final OpsParams.Origin deploy_instance
-
unload
public static final OpsParams.Origin unload
-
undeploy
public static final OpsParams.Origin undeploy
-
create_application_ref
public static final OpsParams.Origin create_application_ref
-
mt_provision
public static final OpsParams.Origin mt_provision
-
mt_unprovision
public static final OpsParams.Origin mt_unprovision
-
-
Method Detail
-
values
public static OpsParams.Origin[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpsParams.Origin c : OpsParams.Origin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpsParams.Origin valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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()
-
-