com.cisco.oss.foundation.monitoring.component.config
Class StopCommandSettings

java.lang.Object
  extended by com.cisco.oss.foundation.monitoring.component.config.StopCommandSettings

public class StopCommandSettings
extends Object

This settings reflects how a component can be stopped remotely.

Author:
manojc

Constructor Summary
StopCommandSettings()
           
 
Method Summary
 String getCommand()
           
 MatchPolicy getMatchPolicy()
           
 String getSuccessIndication()
           
 void setCommand(String command)
          Sets the Stop script command using which this component can be stopped.
 void setMatchPolicy(MatchPolicy matchPolicy)
          Sets the MatchPolicy that has to be applied on getSuccessIndication() to confirm if the component is stopped successfully.
 void setSuccessIndication(String successIndication)
          Sets the text output of the component's Stop script command which says the component is stopped successfully.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopCommandSettings

public StopCommandSettings()
Method Detail

getCommand

public String getCommand()
Returns:
The stop script command using which this component can be stopped

setCommand

public void setCommand(String command)
Sets the Stop script command using which this component can be stopped.

Parameters:
command -

getMatchPolicy

public MatchPolicy getMatchPolicy()
Returns:
The MatchPolicy that has to be applied on getSuccessIndication() to confirm if the component is stopped successfully

setMatchPolicy

public void setMatchPolicy(MatchPolicy matchPolicy)
Sets the MatchPolicy that has to be applied on getSuccessIndication() to confirm if the component is stopped successfully.

Parameters:
matchPolicy -

getSuccessIndication

public String getSuccessIndication()
Returns:
The text output of the component's Stop script command which says the component is stopped successfully

setSuccessIndication

public void setSuccessIndication(String successIndication)
Sets the text output of the component's Stop script command which says the component is stopped successfully.

Parameters:
successIndication -


Copyright © 2015 Cisco. All Rights Reserved.