@Service(name="undeploy") @PerLookup @ExecuteOn(value={DAS,INSTANCE}) @TargetType(value={DOMAIN,DAS,STANDALONE_INSTANCE,CLUSTER}) public class UndeployCommand extends UndeployCommandParameters implements AdminCommand, DeploymentTargetResolver, AdminCommandSecurity.Preauthorization, AdminCommandSecurity.AccessCheckProvider
OpsParams.Command, OpsParams.Origin_ignoreCascade, _type, cascade, droptables, isredeploy, keepreposdir, keepstate, name, properties, target_classicstyle, command, origin| Constructor and Description |
|---|
UndeployCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties
where the keys are the parameter names and the values are the parameter values
|
Collection<? extends AccessRequired.AccessCheck> |
getAccessChecks()
Returns the
AccessChecks the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired annotations. |
String |
getTarget(ParameterMap parameters) |
boolean |
preAuthorization(AdminCommandContext context) |
getProperties, isRedeploy, libraries, namegetCommand, getOriginpublic boolean preAuthorization(AdminCommandContext context)
preAuthorization in interface AdminCommandSecurity.Preauthorizationpublic Collection<? extends AccessRequired.AccessCheck> getAccessChecks()
AdminCommandSecurity.AccessCheckProviderAccessChecks the command has computed at runtime
which should be included in the authorization, added to checks that
secure admin infers from the command's CRUD or RestEndpoint characteristics
or AccessRequired annotations.getAccessChecks in interface AdminCommandSecurity.AccessCheckProviderAccessCheckspublic void execute(AdminCommandContext context)
AdminCommandexecute in interface AdminCommandcontext - informationpublic String getTarget(ParameterMap parameters)
getTarget in interface DeploymentTargetResolverCopyright © 2017. All rights reserved.