Uses of Class
org.jenkinsci.remoting.Role
Package
Description
Remoting infrastructure for Hudson.
TCP port forwarding over
hudson.remoting
.-
Uses of Role in hudson.remoting
Modifier and TypeMethodDescriptionConvenience method to installRoleChecker
that verifies against the fixed set of roles.Modifier and TypeMethodDescriptionChannelBuilder.withRoles
(Collection<? extends Role> actual) Convenience method to installRoleChecker
that verifies against the fixed set of roles. -
Uses of Role in hudson.remoting.forward
Modifier and TypeFieldDescriptionstatic final Role
ForwarderFactory.ROLE
Deprecated.Role that's willing to open a socket to arbitrary node nad forward that to the other side.static final Role
PortForwarder.ROLE
Deprecated.Role that's willing to listen on a socket and forward that to the other side. -
Uses of Role in org.jenkinsci.remoting
Modifier and TypeFieldDescriptionstatic final Role
Role.UNKNOWN
Used as a place holder whenCallable
didn't declare any role.Modifier and TypeFieldDescriptionstatic final Collection<Role>
Role.UNKNOWN_SET
Convenience singleton collection that only includeUNKNOWN
Modifier and TypeMethodDescriptionvoid
RoleChecker.check
(RoleSensitive subject, Role expected) void
RoleChecker.check
(RoleSensitive subject, Role... expected) Modifier and TypeMethodDescriptionabstract void
RoleChecker.check
(RoleSensitive subject, Collection<Role> expected) Called fromRoleSensitive.checkRoles(RoleChecker)
to ensure that this side of the channel is willing to executeCallable
s that expects one of the given roles on their intended recipients.