public final class RunMessage extends JobChannelMessage<RunMessage>
Run domain model PubsubBus message instance.defaults| Constructor and Description |
|---|
RunMessage()
Create a plain message instance.
|
RunMessage(hudson.model.Run run)
Create a message instance associated with a Jenkins
Run. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(hudson.security.Permission permission) |
Message |
clone()
Clone this
Message instance. |
protected hudson.security.AccessControlled |
getAccessControlled()
Get the Jenkins
AccessControlled object associated with this message. |
hudson.security.ACL |
getACL() |
hudson.model.Run |
getRun()
Get the Jenkins
Run associated with this message. |
boolean |
hasPermission(hudson.security.Permission permission) |
getChannelName, getJob, getJobChannelItem, getJobName, getRequiredPermission, setChannelNamecontainsAll, get, get, getEventName, getEventUUID, getJenkinsInstanceId, getJenkinsInstanceUrl, getObjectId, getObjectName, getObjectType, getTimestamp, getTimestampMillis, set, set, setEventName, setEventName, setItemProps, setJenkinsInstanceId, toJSON, toJSON, toStringgetProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, valuespublic RunMessage()
public RunMessage(@Nonnull hudson.model.Run run)
Run.run - The Jenkins Run with this message instance is to be associated.public Message clone()
Message instance.
Base implementation creates a SimpleMessage instance.
protected hudson.security.AccessControlled getAccessControlled()
AccessControlled object associated with this message.getAccessControlled in class JobChannelMessage<RunMessage>AccessControlled object associated with this message,
or {code null} if the message is not associated with a
Jenkins AccessControlled.@CheckForNull public hudson.model.Run getRun()
Run associated with this message.Run associated with this message,
or {code null} if the message is not associated with a
Jenkins Run.@Nonnull public hudson.security.ACL getACL()
getACL in interface hudson.security.AccessControlledpublic void checkPermission(@Nonnull hudson.security.Permission permission) throws org.acegisecurity.AccessDeniedException
checkPermission in interface hudson.security.AccessControlledorg.acegisecurity.AccessDeniedExceptionpublic boolean hasPermission(@Nonnull hudson.security.Permission permission)
hasPermission in interface hudson.security.AccessControlledCopyright © 2016–2019. All rights reserved.