org.ow2.jasmine.monitoring.mbeancmd.api
Class JasmineTarget
java.lang.Object
org.ow2.jasmine.monitoring.mbeancmd.api.JasmineTarget
public class JasmineTarget
- extends Object
Provides a JASMINe target definition elements:
its name and url for the jmx connection.
- Author:
- danesa
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
JasmineTarget
public JasmineTarget()
getName
public String getName()
setName
public void setName(String name)
getJmxUrl
public String getJmxUrl()
setJmxUrl
public void setJmxUrl(String jmxUrl)
getUser
public String getUser()
setUser
public void setUser(String user)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getProtocolProviders
public String getProtocolProviders()
setProtocolProviders
public void setProtocolProviders(String protocolProviders)
getState
public int getState()
setState
public void setState(int state)
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.
hashCode
public int hashCode()
- Returns a hash code value for the object.
- Overrides:
hashCode in class Object
- Returns:
- hashcode value
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- string representation of the object.
Copyright © 2012 OW2 Consortium. All Rights Reserved.