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
Constructors Constructor Description ItemPathConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemPath
convert(String value)
void
validate(String name, String value)
-