Package com.redwood.scheduler.api.model
Interface MonitorCheck
-
- All Superinterfaces:
BusinessKeyObject,LinkableMonitor,LinkableMonitorComp,Monitor,MonitorCheckComp,NamedRootObject,NamedRootObjectComp,Readable,Root,SchedulerEntity,SchedulerEntityComp
public interface MonitorCheck extends MonitorCheckComp, LinkableMonitor, Readable
Shows which monitor conditions use which monitor values If the monitor check refers to a local object, it must define a business key.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "MonitorCheck" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<MonitorCheck>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonitorConditioncreateMonitorCondition()Create a newMonitorConditionlinked to this object.MonitorValuecreateMonitorValue()Create a newMonitorValuelinked to this object.RWIterable<MonitorCondition>getMonitorConditions()Get anRWIterableover a collection ofMonitorConditions, the collection will be ordered by Name.SchedulerEntitygetMonitoredObject()Get the value for MonitoredObject.MonitorValuegetMonitorValueByName(String name)Get the MonitorValue by Name.RWIterable<MonitorValue>getMonitorValues()Get anRWIterableover a collection ofMonitorValues, the collection will be ordered by Name.voidsetMonitoredObject(SchedulerEntity newMonitoredObject)Set the value for MonitoredObject.-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.LinkableMonitor
createMonitorEvent, getActualSeverity, getLinkedMonitorLinks, getMonitorEventByEventDefinition, getMonitorEvents, getRemoteId, getRemoteSystem, setRemoteId, setRemoteSystem
-
Methods inherited from interface com.redwood.scheduler.api.model.Monitor
getFullPath, getParentMonitorNode, setParentMonitorNode
-
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObject
createObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.Root
getCreationTime, getLastModificationTime, getLastModifierSubject
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()for "MonitorCheck" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<MonitorCheck> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
getMonitoredObject
SchedulerEntity getMonitoredObject()
Get the value for MonitoredObject. (Object being monitored, if it is local.)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
setMonitoredObject
void setMonitoredObject(SchedulerEntity newMonitoredObject)
Set the value for MonitoredObject. (Object being monitored, if it is local.) This value is optional.- Parameters:
newMonitoredObject- the new value for MonitoredObject.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
-
getMonitorConditions
RWIterable<MonitorCondition> getMonitorConditions()
Get anRWIterableover a collection ofMonitorConditions, the collection will be ordered by Name. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The condition that this monitor check is a check for.- Specified by:
getMonitorConditionsin interfaceMonitorCheckComp- Returns:
- An
RWIterableover a collection ofMonitorConditionobjects , the collection will be ordered by Name.
-
createMonitorCondition
MonitorCondition createMonitorCondition()
Create a newMonitorConditionlinked to this object.- Returns:
- a new
MonitorCondition.
-
getMonitorValues
RWIterable<MonitorValue> getMonitorValues()
Get anRWIterableover a collection ofMonitorValues, the collection will be ordered by Name. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. The value of this monitor check.- Specified by:
getMonitorValuesin interfaceMonitorCheckComp- Returns:
- An
RWIterableover a collection ofMonitorValueobjects , the collection will be ordered by Name.
-
createMonitorValue
MonitorValue createMonitorValue()
Create a newMonitorValuelinked to this object.- Returns:
- a new
MonitorValue.
-
getMonitorValueByName
MonitorValue getMonitorValueByName(String name)
Get the MonitorValue by Name.- Parameters:
name-- Returns:
- the MonitorValue, or
nullif it could not be found
-
-