org.glassfish.api.deployment
Enum OpsParams.Origin
java.lang.Object
java.lang.Enum<OpsParams.Origin>
org.glassfish.api.deployment.OpsParams.Origin
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OpsParams.Origin>
- Enclosing class:
- OpsParams
public static enum OpsParams.Origin
- extends java.lang.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
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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
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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
isDeploy
public boolean isDeploy()
isLoad
public boolean isLoad()
isArtifactsPresent
public boolean isArtifactsPresent()
isUndeploy
public boolean isUndeploy()
isUnload
public boolean isUnload()
isCreateAppRef
public boolean isCreateAppRef()
Copyright © 2012 GlassFish Community. All Rights Reserved.