Package com.redwood.scheduler.api.model
Interface MonitorLink
-
- All Superinterfaces:
BusinessKeyObject
,Monitor
,NamedRootObject
,NamedRootObjectComp
,Readable
,Root
,SchedulerEntity
,SchedulerEntityComp
public interface MonitorLink extends Monitor, Readable
Monitor that links to a linkedmonitor A monitorlink is used to reuse a part of the monitor tree in several locations by linking to them. Severities that came from the subtree will be propagated onto the parent.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "MonitorLink" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<MonitorLink>
TYPE
Type 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 LinkableMonitor
getLinkedLinkableMonitor()
Get the LinkedLinkableMonitor.void
setLinkedLinkableMonitor(LinkableMonitor newLinkedLinkableMonitor)
Set the value for LinkedLinkableMonitor.-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
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 "MonitorLink" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<MonitorLink> 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
-
getLinkedLinkableMonitor
LinkableMonitor getLinkedLinkableMonitor()
Get the LinkedLinkableMonitor.- Returns:
- LinkedLinkableMonitor
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException
- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
setLinkedLinkableMonitor
void setLinkedLinkableMonitor(LinkableMonitor newLinkedLinkableMonitor)
Set the value for LinkedLinkableMonitor. This value is mandatory.- Parameters:
newLinkedLinkableMonitor
- is the object to set LinkedLinkableMonitor to. To which LinkableMonitor Object does this MonitorLink point to? If this isnull
, then the object cannot be persisted.
-
-