|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cisco.oss.foundation.monitoring.component.config.StatusCommandSettings
public class StatusCommandSettings
This settings reflects how a component can be checked if it is running or not.
| Constructor Summary | |
|---|---|
StatusCommandSettings()
|
|
| Method Summary | |
|---|---|
String |
getCommand()
|
String |
getDownIndication()
|
MatchPolicy |
getMatchPolicy()
|
String |
getUpIndication()
|
void |
setCommand(String command)
Sets the status script command using which this component can be checked if it is running or not. |
void |
setDownIndication(String downIndication)
Sets the text output of the component's Status script command which says the component is DOWN. |
void |
setMatchPolicy(MatchPolicy matchPolicy)
Sets the MatchPolicy that has to be applied on getUpIndication()
and getDownIndication() to confirm if the component is running
or not running respectively. |
void |
setUpIndication(String upIndication)
Sets the text output of the component's Status script command which says the component is UP and running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusCommandSettings()
| Method Detail |
|---|
public String getCommand()
public void setCommand(String command)
command - public MatchPolicy getMatchPolicy()
getUpIndication() and getDownIndication() to
confirm if the component is running or not running respectivelypublic void setMatchPolicy(MatchPolicy matchPolicy)
getUpIndication()
and getDownIndication() to confirm if the component is running
or not running respectively.
matchPolicy - public String getUpIndication()
public void setUpIndication(String upIndication)
upIndication - public String getDownIndication()
public void setDownIndication(String downIndication)
downIndication -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||