com.atlassian.jira.workflow.validator
Class PermissionValidator
java.lang.Object
com.atlassian.jira.workflow.validator.AbstractPermissionValidator
com.atlassian.jira.workflow.validator.PermissionValidator
- All Implemented Interfaces:
- com.opensymphony.workflow.Validator
- Direct Known Subclasses:
- NotNullPermissionValidator
- public class PermissionValidator
- extends AbstractPermissionValidator
- implements com.opensymphony.workflow.Validator
An OSWorkflow validator that validates a given permission is correct.
Method Summary |
static com.opensymphony.workflow.loader.ValidatorDescriptor |
makeDescriptor(java.lang.String permission)
|
void |
validate(java.util.Map transientVars,
java.util.Map args,
com.opensymphony.module.propertyset.PropertySet ps)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionValidator
public PermissionValidator()
makeDescriptor
public static com.opensymphony.workflow.loader.ValidatorDescriptor makeDescriptor(java.lang.String permission)
validate
public void validate(java.util.Map transientVars,
java.util.Map args,
com.opensymphony.module.propertyset.PropertySet ps)
throws com.opensymphony.workflow.InvalidInputException
- Specified by:
validate
in interface com.opensymphony.workflow.Validator
- Throws:
com.opensymphony.workflow.InvalidInputException
Copyright © 2002-2005 Atlassian. All Rights Reserved.