Package com.evolveum.midpoint.ninja.util
Class ItemPathConverter
java.lang.Object
com.evolveum.midpoint.ninja.util.ItemPathConverter
- All Implemented Interfaces:
com.beust.jcommander.IParameterValidator
,com.beust.jcommander.IStringConverter<ItemPath>
public class ItemPathConverter
extends Object
implements com.beust.jcommander.IStringConverter<ItemPath>, com.beust.jcommander.IParameterValidator
Converter and validator for ItemPath objects used in command-line parsing.
This class converts string values to ItemPath objects. It supports the usage of namespace prefixes by declaring them, for example:
-ei "declare namespace key = 'namespaceLink'; extension/key:itemName"
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ItemPathConverter
public ItemPathConverter()
-
-
Method Details
-
validate
- Specified by:
validate
in interfacecom.beust.jcommander.IParameterValidator
- Throws:
com.beust.jcommander.ParameterException
-
convert
- Specified by:
convert
in interfacecom.beust.jcommander.IStringConverter<ItemPath>
-