public class PermissionValidator extends AbstractPermissionValidator implements com.opensymphony.workflow.Validator
<validator type="class"> <arg name="class.name">com.atlassian.jira.workflow.validator.PermissionValidator</arg> <arg name="permission">Create Issue</arg> </validator>
Constructor and Description |
---|
PermissionValidator() |
Modifier and Type | Method and Description |
---|---|
protected String |
getCallerKey(Map transientVars)
Exposed for testing - to escape from testing internals of that bloody static WorkflowUtil.getCallerKey
|
static com.opensymphony.workflow.loader.ValidatorDescriptor |
makeDescriptor(String permission) |
void |
validate(Map transientVars,
Map args,
com.opensymphony.module.propertyset.PropertySet ps) |
public static com.opensymphony.workflow.loader.ValidatorDescriptor makeDescriptor(String permission)
public void validate(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.InvalidInputException
validate
in interface com.opensymphony.workflow.Validator
com.opensymphony.workflow.InvalidInputException
Copyright © 2002-2024 Atlassian. All Rights Reserved.