Package org.glassfish.config.support
Interface TargetValidator
- All Known Implementing Classes:
CommandTarget
public interface TargetValidator
a extensible mechanism to define new configuration targets
- Author:
- Jerome Dochez
-
Method Summary
Modifier and TypeMethodDescriptionReturns a internalized aware string describing the target typebooleanreturns true if the passed target parameter value is a valid identifier of a target instance.
-
Method Details
-
isValid
returns true if the passed target parameter value is a valid identifier of a target instance.- Parameters:
habitat- the habitat where to lookup all the target instancestarget- the target identifier to check- Returns:
- true if target is a valid identifier of a target instance
-
getDescription
String getDescription()Returns a internalized aware string describing the target type- Returns:
- a type description
-