org.ow2.jasmine.monitoring.eos.probemanager.service
Class Probe

java.lang.Object
  extended by org.ow2.jasmine.monitoring.eos.probemanager.service.Probe
All Implemented Interfaces:
Serializable, Cloneable

public class Probe
extends Object
implements Serializable, Cloneable

Value Object representing a Probe. A corresponding ActionScript object has been defined for flex access: Check that fields have the same name and the matching type !

Author:
durieuxp
See Also:
Serialized Form

Field Summary
protected  String error
           
protected  List<String> indicatorId
           
protected  List<String> outputId
           
protected  int period
           
static int PROBE_FAILED
           
static int PROBE_RUNNING
           
static int PROBE_STARTED
           
static int PROBE_STOPPED
           
protected  String probeId
           
protected  boolean selected
           
protected  int state
           
protected  List<String> targetId
           
 
Constructor Summary
Probe()
          This constructor is needed for granite: called to rebuild object from the as object.
 
Method Summary
 Object clone()
          return a clone of this Probe
 String getError()
           
 List<String> getIndicatorId()
           
 List<String> getOutputId()
           
 int getPeriod()
           
 String getProbeId()
           
 boolean getSelected()
           
 int getState()
           
 List<String> getTargetId()
           
 void setError(String s)
           
 void setIndicatorId(List<String> s)
           
 void setOutputId(List<String> s)
           
 void setPeriod(int p)
           
 void setProbeId(String id)
           
 void setSelected(boolean value)
           
 void setState(int s)
           
 void setTargetId(List<String> s)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

probeId

protected String probeId

period

protected int period

error

protected String error

targetId

protected List<String> targetId

outputId

protected List<String> outputId

indicatorId

protected List<String> indicatorId

state

protected int state

PROBE_STOPPED

public static final int PROBE_STOPPED
See Also:
Constant Field Values

PROBE_STARTED

public static final int PROBE_STARTED
See Also:
Constant Field Values

PROBE_RUNNING

public static final int PROBE_RUNNING
See Also:
Constant Field Values

PROBE_FAILED

public static final int PROBE_FAILED
See Also:
Constant Field Values

selected

protected boolean selected
Constructor Detail

Probe

public Probe()
This constructor is needed for granite: called to rebuild object from the as object.

Method Detail

clone

public Object clone()
return a clone of this Probe

Overrides:
clone in class Object

getProbeId

public String getProbeId()

setProbeId

public void setProbeId(String id)

getPeriod

public int getPeriod()

setPeriod

public void setPeriod(int p)

getTargetId

public List<String> getTargetId()

setTargetId

public void setTargetId(List<String> s)

getOutputId

public List<String> getOutputId()

setOutputId

public void setOutputId(List<String> s)

getIndicatorId

public List<String> getIndicatorId()

setIndicatorId

public void setIndicatorId(List<String> s)

getState

public int getState()

setState

public void setState(int s)

getSelected

public boolean getSelected()

setSelected

public void setSelected(boolean value)

getError

public String getError()

setError

public void setError(String s)


Copyright © 2013 OW2 Consortium. All Rights Reserved.