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

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

public class StartCommandSettings
extends Object

This settings reflects how a component can be started remotely.

Author:
manojc

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

Constructor Detail

StartCommandSettings

public StartCommandSettings()
Method Detail

getCommand

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

setCommand

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

Parameters:
command -

getMatchPolicy

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

setMatchPolicy

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

Parameters:
matchPolicy -

getSuccessIndication

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

setSuccessIndication

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

Parameters:
successIndication -


Copyright © 2015 Cisco. All Rights Reserved.