Package org.glassfish.api.deployment
Class OpsParams
- java.lang.Object
-
- org.glassfish.api.deployment.OpsParams
-
- All Implemented Interfaces:
CommandParameters
- Direct Known Subclasses:
DeployCommandParameters
,StateCommandParameters
,UndeployCommandParameters
public abstract class OpsParams extends Object implements CommandParameters
Support class for all types of deployment operation parameters.- Author:
- Jerome Dochez
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpsParams.Command
There can be cases where the container code wants to find out the command associated with the operation when the Origin information is not sufficientstatic class
OpsParams.Origin
There can be so far 6 types of events that can trigger deployment activities.
-
Field Summary
Fields Modifier and Type Field Description Boolean
_classicstyle
OpsParams.Command
command
The command associated with this operation, by default it's deployOpsParams.Origin
origin
Type of deployment operation, by default it's deployment
-
Constructor Summary
Constructors Constructor Description OpsParams()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OpsParams.Command
getCommand()
The command associated with this operation, by default it's deployOpsParams.Origin
getOrigin()
Type of deployment operation, by default it's deploymentabstract String
libraries()
Libraries that are to used with the application.abstract String
name()
-
-
-
Field Detail
-
origin
public OpsParams.Origin origin
Type of deployment operation, by default it's deployment
-
command
public OpsParams.Command command
The command associated with this operation, by default it's deploy
-
_classicstyle
public Boolean _classicstyle
-
-
Method Detail
-
getOrigin
public OpsParams.Origin getOrigin()
Type of deployment operation, by default it's deployment- Returns:
-
getCommand
public OpsParams.Command getCommand()
The command associated with this operation, by default it's deploy- Returns:
-
name
public abstract String name()
- Returns:
- the name of the application being deployed
-
libraries
public abstract String libraries()
Libraries that are to used with the application.These libraries if local should be under lib/applibs
- Returns:
- a comma separated list of JAR files
-
-