Package com.redwood.scheduler.api.model
Interface LinkableMonitor
- 
- All Superinterfaces:
- BusinessKeyObject,- LinkableMonitorComp,- Monitor,- NamedRootObject,- NamedRootObjectComp,- Root,- SchedulerEntity,- SchedulerEntityComp
 - All Known Subinterfaces:
- MonitorCheck,- MonitorNode
 
 public interface LinkableMonitor extends LinkableMonitorComp, Monitor Superclass for monitors that can be linked to.
- 
- 
Field Summary- 
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 MonitorEventcreateMonitorEvent(EventDefinition newEventDefinition)Create a newMonitorEventlinked to this object.LonggetActualSeverity()Get the value for ActualSeverity.RWIterable<MonitorLink>getLinkedMonitorLinks()Get anRWIterableover a collection ofLinkedMonitorLinks, the collection will be ordered by Name.MonitorEventgetMonitorEventByEventDefinition(EventDefinition eventDefinition)Get the MonitorEvent by MonitorEvent.RWIterable<MonitorEvent>getMonitorEvents()Get anRWIterableover an ordered collection ofMonitorEvents.StringgetRemoteId()Get the value for RemoteId.StringgetRemoteSystem()Get the value for RemoteSystem.voidsetRemoteId(String newRemoteId)Set the value for RemoteId.voidsetRemoteSystem(String newRemoteSystem)Set the value for RemoteSystem.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
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
 
- 
 
- 
- 
- 
Method Detail- 
getActualSeverityLong getActualSeverity() Get the value for ActualSeverity. (The Actual severity of the monitor, or -1 if it has not been set before.)- 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.
 
 - 
getRemoteIdString getRemoteId() Get the value for RemoteId. (Unique identification of the job in the remote system)- 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.
 
 - 
getRemoteSystemString getRemoteSystem() Get the value for RemoteSystem. (Foreign subsystem that this monitor is defined in)- 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.
 
 - 
setRemoteIdvoid setRemoteId(String newRemoteId) Set the value for RemoteId. (Unique identification of the job in the remote system) This value is optional.- Parameters:
- newRemoteId- the new value for RemoteId.
- 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.
 
 - 
setRemoteSystemvoid setRemoteSystem(String newRemoteSystem) Set the value for RemoteSystem. (Foreign subsystem that this monitor is defined in) This value is optional.- Parameters:
- newRemoteSystem- the new value for RemoteSystem.
- 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.
 
 - 
getMonitorEventsRWIterable<MonitorEvent> getMonitorEvents() Get anRWIterableover an ordered collection ofMonitorEvents. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. A list of Events that this Monitor raises, and under what conditions.- Specified by:
- getMonitorEventsin interface- LinkableMonitorComp
- Returns:
- An RWIterableover an ordered collection ofMonitorEventobjects .
 
 - 
createMonitorEventMonitorEvent createMonitorEvent(EventDefinition newEventDefinition) Create a newMonitorEventlinked to this object.- Parameters:
- newEventDefinition- The other parent of the- MonitorEventEventDefinitionassociation.
- Returns:
- a new MonitorEvent.
 
 - 
getMonitorEventByEventDefinitionMonitorEvent getMonitorEventByEventDefinition(EventDefinition eventDefinition) Get the MonitorEvent by MonitorEvent.- Parameters:
- eventDefinition-
- Returns:
- the MonitorEvent, or nullif it could not be found
 
 - 
getLinkedMonitorLinksRWIterable<MonitorLink> getLinkedMonitorLinks() Get anRWIterableover a collection ofLinkedMonitorLinks, 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. To which LinkableMonitor Object does this MonitorLink point to?- Specified by:
- getLinkedMonitorLinksin interface- LinkableMonitorComp
- Returns:
- An RWIterableover a collection ofMonitorLinkobjects , the collection will be ordered by Name.
 
 
- 
 
-