com.atlassian.jira.bc.admin
Class NavigableFieldListValidator

java.lang.Object
  extended by com.atlassian.jira.bc.admin.NavigableFieldListValidator
All Implemented Interfaces:
Validator

public final class NavigableFieldListValidator
extends Object
implements Validator

Validates a list of strings to each be the id of a navigable field that is valid for at least one project.

Since:
v4.4

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.validation.Validator
Validator.Result
 
Constructor Summary
NavigableFieldListValidator()
           
NavigableFieldListValidator(FieldManager fieldManager)
           
 
Method Summary
 Validator.Result validate(String value)
          Validate the given string to see if it passes and if not, why not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigableFieldListValidator

public NavigableFieldListValidator(FieldManager fieldManager)

NavigableFieldListValidator

public NavigableFieldListValidator()
Method Detail

validate

public Validator.Result validate(String value)
Description copied from interface: Validator
Validate the given string to see if it passes and if not, why not.

Specified by:
validate in interface Validator
Parameters:
value - all validation input is a String.
Returns:
A result that contains access to the details of the validation outcome.


Copyright © 2002-2012 Atlassian. All Rights Reserved.