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 SummaryFields 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.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll 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.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.LinkableMonitorcreateMonitorEvent, getActualSeverity, getLinkedMonitorLinks, getMonitorEventByEventDefinition, getMonitorEvents, getRemoteId, getRemoteSystem, setRemoteId, setRemoteSystem
 - 
Methods inherited from interface com.redwood.scheduler.api.model.MonitorgetFullPath, getParentMonitorNode, setParentMonitorNode
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObjectcreateObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.RootgetCreationTime, getLastModificationTime, getLastModifierSubject
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, 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_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "MonitorCheck" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<MonitorCheck> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getMonitoredObjectSchedulerEntity 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.
 
 - 
setMonitoredObjectvoid 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.
 
 - 
getMonitorConditionsRWIterable<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 interface- MonitorCheckComp
- Returns:
- An RWIterableover a collection ofMonitorConditionobjects , the collection will be ordered by Name.
 
 - 
createMonitorConditionMonitorCondition createMonitorCondition() Create a newMonitorConditionlinked to this object.- Returns:
- a new MonitorCondition.
 
 - 
getMonitorValuesRWIterable<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 interface- MonitorCheckComp
- Returns:
- An RWIterableover a collection ofMonitorValueobjects , the collection will be ordered by Name.
 
 - 
createMonitorValueMonitorValue createMonitorValue() Create a newMonitorValuelinked to this object.- Returns:
- a new MonitorValue.
 
 - 
getMonitorValueByNameMonitorValue getMonitorValueByName(String name) Get the MonitorValue by Name.- Parameters:
- name-
- Returns:
- the MonitorValue, or nullif it could not be found
 
 
- 
 
-