|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sysmgt.sdk.remote.Threshold
Represents a Director Threshold
Field Summary | |
---|---|
static int |
THRESHOLD_TYPE_NUMERIC
|
static int |
THRESHOLD_TYPE_STRING
|
Constructor Summary | |
---|---|
Threshold()
|
|
Threshold(int thresholdID,
long thresholdCTAD,
java.lang.String label,
java.lang.String description,
boolean enabled,
java.util.Vector programaticPath,
java.lang.String displayablePath)
|
Method Summary | |
---|---|
static java.util.List |
getAllThresholds(LoginSession session)
getAllThresholds |
static java.util.List |
getAllThresholdsForGroup(LoginSession session,
long groupOid)
getAllThresholdsForGroup |
static java.util.List |
getAllThresholdsForGroup(LoginSession session,
ManagedGroup g)
getAllThresholdsForGroup |
static java.util.List |
getAllThresholdsForSystem(LoginSession session,
long MOID)
getAllThresholdsForSystem |
static java.util.List |
getAllThresholdsForSystem(LoginSession session,
ManagedSystem managedSystem)
getAllThresholdsForSystem |
java.lang.String |
getAttributeLabel()
|
java.lang.Boolean |
getCurrentStatusForSystem(LoginSession session,
ManagedSystem managedSystem)
|
DataValue |
getCurrentValue(LoginSession session)
|
ThresholdSystemInfo |
getCurrentValueAndAlertStateForSystem(LoginSession session,
ManagedSystem managedSystem)
|
DataValue |
getCurrentValueForSystem(LoginSession session,
ManagedSystem managedSystem)
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayablePath()
|
java.lang.String |
getID()
getID |
java.lang.String |
getLabel()
|
java.lang.String |
getName()
|
java.util.Vector |
getProgramaticPath()
|
int |
getResendDelay()
|
int |
getSendDelay()
|
CompositeSystem |
getTarget(LoginSession s)
|
long |
getTargetOid()
|
static Threshold |
getThresholdByID(LoginSession session,
java.lang.String id)
getAllThresholds |
long |
getThresholdCTAD()
|
int |
getThresholdID()
|
int |
getThresholdType()
|
boolean |
isEnabled()
isEnabled |
boolean |
isGenerateOnValueChange()
|
boolean |
isIndividualThreshold()
|
void |
setDescription(java.lang.String string)
INTERNAL USE ONLY |
void |
setDisplayablePath(java.lang.String string)
INTERNAL USE ONLY |
void |
setEnabled(boolean b)
INTERNAL USE ONLY |
boolean |
setEnabled(LoginSession session,
boolean flag)
|
void |
setGenerateOnValueChange(boolean b)
|
void |
setIndividualThreshold(boolean b)
INTERNAL USE ONLY |
void |
setLabel(java.lang.String string)
INTERNAL USE ONLY |
void |
setProgramaticPath(java.util.Vector path)
INTERNAL USE ONLY |
void |
setResendDelay(int i)
INTERNAL USE ONLY |
void |
setSendDelay(int i)
INTERNAL USE ONLY |
void |
setTargetOid(long l)
INTERNAL USE ONLY |
void |
setThresholdCTAD(long l)
INTERNAL USE ONLY |
void |
setThresholdID(int i)
INTERNAL USE ONLY |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int THRESHOLD_TYPE_NUMERIC
public static final int THRESHOLD_TYPE_STRING
Constructor Detail |
public Threshold()
public Threshold(int thresholdID, long thresholdCTAD, java.lang.String label, java.lang.String description, boolean enabled, java.util.Vector programaticPath, java.lang.String displayablePath)
Method Detail |
public int getThresholdType()
public boolean isGenerateOnValueChange()
public void setGenerateOnValueChange(boolean b)
b
- public java.lang.String getID()
public static Threshold getThresholdByID(LoginSession session, java.lang.String id) throws ServerCommunicationException, RequestFailedException
session
-
ServerCommunicationException
RequestFailedException
public static java.util.List getAllThresholds(LoginSession session) throws ServerCommunicationException, RequestFailedException
session
-
ServerCommunicationException
RequestFailedException
public static java.util.List getAllThresholdsForSystem(LoginSession session, ManagedSystem managedSystem) throws ServerCommunicationException, RequestFailedException
session
- managedSystem
-
ServerCommunicationException
RequestFailedException
public static java.util.List getAllThresholdsForSystem(LoginSession session, long MOID) throws ServerCommunicationException, RequestFailedException
session
-
ServerCommunicationException
RequestFailedException
public static java.util.List getAllThresholdsForGroup(LoginSession session, ManagedGroup g) throws ServerCommunicationException, RequestFailedException
session
-
ServerCommunicationException
RequestFailedException
public static java.util.List getAllThresholdsForGroup(LoginSession session, long groupOid) throws ServerCommunicationException, RequestFailedException
session
-
ServerCommunicationException
RequestFailedException
public boolean isEnabled()
public boolean setEnabled(LoginSession session, boolean flag) throws ServerCommunicationException, RequestFailedException
session
- flag
-
ServerCommunicationException
RequestFailedException
public DataValue getCurrentValue(LoginSession session) throws ServerCommunicationException, RequestFailedException
session
-
ServerCommunicationException
RequestFailedException
public DataValue getCurrentValueForSystem(LoginSession session, ManagedSystem managedSystem) throws ServerCommunicationException, RequestFailedException
session
- managedSystem
-
ServerCommunicationException
RequestFailedException
public ThresholdSystemInfo getCurrentValueAndAlertStateForSystem(LoginSession session, ManagedSystem managedSystem) throws ServerCommunicationException, RequestFailedException
session
- managedSystem
-
ServerCommunicationException
RequestFailedException
public java.lang.Boolean getCurrentStatusForSystem(LoginSession session, ManagedSystem managedSystem) throws ServerCommunicationException, RequestFailedException
session
- managedSystem
-
ServerCommunicationException
RequestFailedException
public java.lang.String getName()
public java.lang.String getLabel()
public java.lang.String getAttributeLabel()
public int getResendDelay()
public int getSendDelay()
public void setLabel(java.lang.String string)
string
- public void setProgramaticPath(java.util.Vector path)
public void setResendDelay(int i)
i
- public void setSendDelay(int i)
i
- public int getThresholdID()
public long getThresholdCTAD()
public void setThresholdID(int i)
public void setThresholdCTAD(long l)
l
- public java.lang.String toString()
public java.lang.String getDescription()
public void setDescription(java.lang.String string)
string
- public java.lang.String getDisplayablePath()
public java.util.Vector getProgramaticPath()
public boolean isIndividualThreshold()
public CompositeSystem getTarget(LoginSession s) throws ServerCommunicationException, RequestFailedException
ServerCommunicationException
RequestFailedException
public long getTargetOid()
public void setDisplayablePath(java.lang.String string)
public void setEnabled(boolean b)
b
- public void setIndividualThreshold(boolean b)
b
- public void setTargetOid(long l)
l
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |