Class UserItemRoles
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.rolestrategy.pipeline.AbstractUserRolesStep
org.jenkinsci.plugins.rolestrategy.pipeline.UserItemRoles
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
Pipeline step that returns the users item roles.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The descriptor.static class
Step Execution.Nested classes/interfaces inherited from class org.jenkinsci.plugins.rolestrategy.pipeline.AbstractUserRolesStep
AbstractUserRolesStep.Execution
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setShowAllRoles
(boolean showAllRoles) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
UserItemRoles
@DataBoundConstructor public UserItemRoles()
-
-
Method Details
-
isShowAllRoles
public boolean isShowAllRoles() -
setShowAllRoles
@DataBoundSetter public void setShowAllRoles(boolean showAllRoles) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-