|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.util.VariableInputValidator
This class validates the variable input components and provides the result of that validation.
Field Summary | |
static String |
VALIDATOR
|
static String |
VALIDATOR_FILE
|
static String |
VALIDATOR_FOLDER
|
static String |
VALIDATOR_JAVA
|
static String |
VALIDATOR_NON_EMPTY
|
static String |
VALIDATOR_REGEXP_MATCH
|
static String |
VALIDATOR_REGEXP_UNMATCH
|
Constructor Summary | |
VariableInputValidator(VariableInputComponent component,
String validator)
Creates new VariableInputValidator object |
Method Summary | |
String |
getMessage()
Get the validadtion message. |
String |
getVariable()
Get the name of variable where validation has failed. |
boolean |
isValid()
Tells whether the validation was successfull. |
protected void |
setMessage(String message)
|
protected void |
setValid(boolean valid)
|
protected void |
setVariable(String variable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String VALIDATOR
public static final String VALIDATOR_NON_EMPTY
public static final String VALIDATOR_REGEXP_MATCH
public static final String VALIDATOR_REGEXP_UNMATCH
public static final String VALIDATOR_FILE
public static final String VALIDATOR_FOLDER
public static final String VALIDATOR_JAVA
Constructor Detail |
public VariableInputValidator(VariableInputComponent component, String validator)
Method Detail |
protected void setValid(boolean valid)
public boolean isValid()
protected void setMessage(String message)
public String getMessage()
protected void setVariable(String variable)
public String getVariable()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |