org.ow2.jasmine.probe
Class JasmineTarget

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

public class JasmineTarget
extends JasmineObject

Provides a JASMINe target definition elements

Author:
danesa

Field Summary
static int TARGET_FAILED
           
static int TARGET_RUNNING
           
static int TARGET_UNKNOWN
           
 
Fields inherited from class org.ow2.jasmine.probe.JasmineObject
name, properties, type
 
Constructor Summary
JasmineTarget()
          default constructor
 
Method Summary
 boolean equals(Object obj)
          Indicates whether some other object is "equal to" this one.
 int getState()
           
 String getUrl()
          Deprecated.  
 void setState(int state)
           
 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 org.ow2.jasmine.probe.JasmineObject
getName, getProperties, getType, setName, setProperties, setType
 
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

getState

public int getState()

setState

public void setState(int state)

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.

Specified by:
toLine in class JasmineObject
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.