| Modifier and Type | Method and Description | 
|---|---|
static RoleCommand | 
RoleCommand.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static RoleCommand[] | 
RoleCommand.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RoleCommand | 
HostRoleCommand.getRoleCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Stage.addHostRoleExecutionCommand(Host host,
                           Role role,
                           RoleCommand command,
                           ServiceComponentHostEvent event,
                           Cluster cluster,
                           String serviceName,
                           boolean retryAllowed,
                           boolean autoSkipFailure)
A new host role command is created for execution. 
 | 
void | 
Stage.addHostRoleExecutionCommand(String host,
                           Role role,
                           RoleCommand command,
                           ServiceComponentHostEvent event,
                           String clusterName,
                           String serviceName,
                           boolean retryAllowed,
                           boolean autoSkipFailure)
A new host role command is created for execution. 
 | 
void | 
Stage.addServerActionCommand(String actionName,
                      String userName,
                      Role role,
                      RoleCommand command,
                      String clusterName,
                      ServiceComponentHostServerActionEvent event,
                      Map<String,String> commandParams,
                      String commandDetail,
                      Map<String,Map<String,String>> configTags,
                      Integer timeout,
                      boolean retryAllowed,
                      boolean autoSkipFailure)
 Creates server-side execution command. 
 | 
HostRoleCommand | 
HostRoleCommandFactory.create(Host host,
      Role role,
      ServiceComponentHostEvent event,
      RoleCommand command,
      boolean retryAllowed,
      boolean autoSkipFailure)
Constructor via factory. 
 | 
HostRoleCommand | 
HostRoleCommandFactoryImpl.create(Host host,
      Role role,
      ServiceComponentHostEvent event,
      RoleCommand command,
      boolean retryAllowed,
      boolean autoSkipFailure)
Constructor via factory. 
 | 
HostRoleCommand | 
HostRoleCommandFactory.create(String hostName,
      Role role,
      ServiceComponentHostEvent event,
      RoleCommand command)
Constructor via factory. 
 | 
HostRoleCommand | 
HostRoleCommandFactoryImpl.create(String hostName,
      Role role,
      ServiceComponentHostEvent event,
      RoleCommand command)
Constructor via factory. 
 | 
HostRoleCommand | 
HostRoleCommandFactory.create(String hostName,
      Role role,
      ServiceComponentHostEvent event,
      RoleCommand command,
      boolean retryAllowed,
      boolean autoSkipFailure)
Constructor via factory. 
 | 
HostRoleCommand | 
HostRoleCommandFactoryImpl.create(String hostName,
      Role role,
      ServiceComponentHostEvent event,
      RoleCommand command,
      boolean retryAllowed,
      boolean autoSkipFailure)
Constructor via factory. 
 | 
void | 
HostRoleCommand.setRoleCommand(RoleCommand roleCommand)  | 
| Constructor and Description | 
|---|
HostRoleCommand(Host host,
               Role role,
               ServiceComponentHostEvent event,
               RoleCommand roleCommand,
               boolean retryAllowed,
               boolean autoSkipFailure,
               HostDAO hostDAO,
               ExecutionCommandDAO executionCommandDAO,
               ExecutionCommandWrapperFactory ecwFactory)  | 
HostRoleCommand(String hostName,
               Role role,
               ServiceComponentHostEvent event,
               RoleCommand roleCommand,
               boolean retryAllowed,
               boolean autoSkipFailure,
               HostDAO hostDAO,
               ExecutionCommandDAO executionCommandDAO,
               ExecutionCommandWrapperFactory ecwFactory)
Simple constructor, should be created using the Factory class. 
 | 
HostRoleCommand(String hostName,
               Role role,
               ServiceComponentHostEvent event,
               RoleCommand command,
               HostDAO hostDAO,
               ExecutionCommandDAO executionCommandDAO,
               ExecutionCommandWrapperFactory ecwFactory)
Simple constructor, should be created using the Factory class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RoleCommand | 
ExecutionCommand.getRoleCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ExecutionCommand.setRoleCommand(RoleCommand cmd)  | 
| Modifier and Type | Method and Description | 
|---|---|
ExecutionCommand | 
AmbariManagementController.getExecutionCommand(Cluster cluster,
                   ServiceComponentHost scHost,
                   RoleCommand roleCommand)
Gets an execution command for host component life cycle command 
 | 
ExecutionCommand | 
AmbariManagementControllerImpl.getExecutionCommand(Cluster cluster,
                   ServiceComponentHost scHost,
                   RoleCommand roleCommand)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Service> | 
RoleCommandOrder.getTransitiveServices(Service service,
                     RoleCommand cmd)
Returns transitive dependencies as a services list 
 | 
| Constructor and Description | 
|---|
RoleCommandPair(Role _role,
               RoleCommand _cmd)  | 
| Modifier and Type | Method and Description | 
|---|---|
RoleCommand | 
HostRoleCommandEntity.getRoleCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
HostRoleCommandEntity.setRoleCommand(RoleCommand roleCommand)  | 
| Modifier and Type | Method and Description | 
|---|---|
RoleCommand | 
RoleGraphNode.getCommand()  | 
| Constructor and Description | 
|---|
RoleGraphNode(Role role,
             RoleCommand command)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<RoleCommand> | 
TopologyTask.Type.tasksToAbortOnFailure()  | 
Copyright © 2022 Apache Software Foundation. All rights reserved.