Package net.shibboleth.idp.cli
Class CLI
- java.lang.Object
-
- net.shibboleth.idp.cli.CLI
-
public final class CLI extends Object
Entry point for command line attribute utility.
-
-
Field Summary
Fields Modifier and Type Field Description static StringARGS_PROPERTYName of system property for command line argument class.
-
Constructor Summary
Constructors Modifier Constructor Description privateCLI()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voiddoRequest(CommandLineArguments args)Make a request using the arguments established.private static voiderrorAndExit(String errorMessage)Logs, as an error, the error message and exits the program.static voidmain(String[] args)Command line entry point.
-
-
-
Field Detail
-
ARGS_PROPERTY
@Nonnull @NotEmpty public static final String ARGS_PROPERTY
Name of system property for command line argument class.- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(@Nonnull String[] args) throws ReflectiveOperationException, SecurityException, IllegalArgumentExceptionCommand line entry point.- Parameters:
args- command line arguments- Throws:
SecurityException- from the object constructionReflectiveOperationException- from the object constructionIllegalArgumentException- from the object construction
-
doRequest
private static void doRequest(@Nonnull CommandLineArguments args)Make a request using the arguments established.- Parameters:
args- the populated command line arguments
-
errorAndExit
private static void errorAndExit(@Nonnull String errorMessage)Logs, as an error, the error message and exits the program.- Parameters:
errorMessage- error message
-
-