public class RecoveryConfigComponent extends Object
| Constructor and Description |
|---|
RecoveryConfigComponent(ServiceComponentHost sch)
Creates
RecoveryConfigComponent instance from initialized ServiceComponentHost |
RecoveryConfigComponent(String componentName,
String serviceName,
State desiredState)
Creates new instance of
RecoveryConfigComponent |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getComponentName() |
State |
getDesiredState() |
String |
getServiceName() |
int |
hashCode() |
void |
setComponentName(String componentName) |
void |
setDesiredState(State state) |
void |
setServiceName(String serviceName) |
String |
toString() |
public RecoveryConfigComponent(String componentName, String serviceName, State desiredState)
RecoveryConfigComponentcomponentName - name of the componentdesiredState - desired desiredState of the componentpublic RecoveryConfigComponent(ServiceComponentHost sch)
RecoveryConfigComponent instance from initialized ServiceComponentHostpublic String getComponentName()
public void setComponentName(String componentName)
public State getDesiredState()
public void setDesiredState(State state)
public String getServiceName()
public void setServiceName(String serviceName)
Copyright © 2022 Apache Software Foundation. All rights reserved.