Package org.jenkinsci.plugins.pubsub
Class JobMessage
java.lang.Object
- All Implemented Interfaces:
AccessControlled
,Serializable
,Cloneable
,Map
Basic Job channel event message.
- Author:
- tom.fennelly@gmail.com
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermission
(Permission permission) clone()
Clone thisMessage
instance.getACL()
boolean
hasPermission
(Permission permission) Methods inherited from class org.jenkinsci.plugins.pubsub.JobChannelMessage
getAccessControlled, getChannelName, getJob, getJobChannelItem, getJobName, getRequiredPermission, setChannelName
Methods inherited from class org.jenkinsci.plugins.pubsub.Message
containsAll, get, get, getEventName, getEventUUID, getJenkinsInstanceId, getJenkinsInstanceUrl, getObjectId, getObjectName, getObjectType, getTimestamp, getTimestampMillis, set, set, setEventName, setEventName, setItemProps, setJenkinsInstanceId, toJSON, toJSON, toString
Methods inherited from class java.util.Properties
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission, hasPermission2
-
Constructor Details
-
Method Details
-
clone
Clone thisMessage
instance.Base implementation creates a
SimpleMessage
instance. -
getACL
- Specified by:
getACL
in interfaceAccessControlled
-
checkPermission
public void checkPermission(@NonNull Permission permission) throws org.springframework.security.access.AccessDeniedException - Specified by:
checkPermission
in interfaceAccessControlled
- Throws:
org.springframework.security.access.AccessDeniedException
-
hasPermission
- Specified by:
hasPermission
in interfaceAccessControlled
-