public interface HostRoleCommandFactory
| Modifier and Type | Method and Description |
|---|---|
HostRoleCommand |
create(Host host,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
boolean retryAllowed,
boolean autoSkipFailure)
Constructor via factory.
|
HostRoleCommand |
create(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command)
Constructor via factory.
|
HostRoleCommand |
create(String hostName,
Role role,
ServiceComponentHostEvent event,
RoleCommand command,
boolean retryAllowed,
boolean autoSkipFailure)
Constructor via factory.
|
HostRoleCommand |
createExisting(HostRoleCommandEntity hostRoleCommandEntity)
Constructor via factory
|
HostRoleCommand create(String hostName, Role role, ServiceComponentHostEvent event, RoleCommand command)
hostName - Host namerole - Action to runevent - Event on the host and componentcommand - Type of commandHostRoleCommand create(String hostName, Role role, ServiceComponentHostEvent event, RoleCommand command, boolean retryAllowed, boolean autoSkipFailure)
hostName - Host namerole - Action to runevent - Event on the host and componentcommand - Type of commandretryAllowed - Whether the command can be repeatedautoSkipFailure - true if the command should be automatically skipped if it
fails.HostRoleCommand create(Host host, Role role, ServiceComponentHostEvent event, RoleCommand command, boolean retryAllowed, boolean autoSkipFailure)
host - Host objectrole - Action to runevent - Event on the host and componentcommand - Type of commandretryAllowed - Whether the command can be repeatedautoSkipFailure - true if the command should be automatically skipped if it
fails.HostRoleCommand createExisting(HostRoleCommandEntity hostRoleCommandEntity)
hostRoleCommandEntity - Object to copy fields from.Copyright © 2022 Apache Software Foundation. All rights reserved.