org.ow2.jasmine.probe
Class JasmineTarget

java.lang.Object
  extended by org.ow2.jasmine.probe.JasmineTarget

public class JasmineTarget
extends Object

Provides a JASMINe target definition elements

Author:
danesa

Field Summary
static int TARGET_FAILED
           
static int TARGET_RUNNING
           
static int TARGET_UNKNOWN
           
 
Constructor Summary
JasmineTarget()
          default constructor
 
Method Summary
 boolean equals(Object obj)
          Indicates whether some other object is "equal to" this one.
 String getName()
           
 Map<String,String> getProperties()
           
 int getState()
           
 String getType()
           
 String getUrl()
          Deprecated.  
 void setName(String name)
           
 void setProperties(Map<String,String> properties)
           
 void setState(int state)
           
 void setType(String type)
           
 void setUrl(String url)
          Deprecated.  
 String toLine()
          Build a single line description of this object.
 String toString()
          Build a full description of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TARGET_UNKNOWN

public static final int TARGET_UNKNOWN
See Also:
Constant Field Values

TARGET_RUNNING

public static final int TARGET_RUNNING
See Also:
Constant Field Values

TARGET_FAILED

public static final int TARGET_FAILED
See Also:
Constant Field Values
Constructor Detail

JasmineTarget

public JasmineTarget()
default constructor

Method Detail

getName

public String getName()

setName

public void setName(String name)

getType

public String getType()

setType

public void setType(String type)

getState

public int getState()

setState

public void setState(int state)

getProperties

public Map<String,String> getProperties()

setProperties

public void setProperties(Map<String,String> properties)

getUrl

public String getUrl()
Deprecated. 

Returns:

setUrl

public void setUrl(String url)
Deprecated. 


toString

public String toString()
Build a full description of this object.

Overrides:
toString in class Object
Returns:
string representation of the object.

toLine

public String toLine()
Build a single line description of this object.

Returns:

equals

public boolean equals(Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class Object
Parameters:
obj - The other object to compare
Returns:
true if both objects are the same.


Copyright © 2013 OW2 Consortium. All Rights Reserved.