@Service(name="_mt-provision") @ExecuteOn(value=DAS) @PerLookup @CommandLock(value=NONE) public class MTProvisionCommand extends Object implements AdminCommand, AdminCommandSecurity.AccessCheckProvider
| Modifier and Type | Field and Description |
|---|---|
String |
appname |
String |
contextroot |
File |
customizations |
String |
tenant |
| Constructor and Description |
|---|
MTProvisionCommand() |
| 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. |
public File customizations
public String tenant
public String contextroot
public String appname
public 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 - informationCopyright © 2017. All rights reserved.