Package net.shibboleth.idp.cli
Class CLI
java.lang.Object
net.shibboleth.idp.cli.CLI
Entry point for command line attribute utility.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of system property for command line argument class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
Make a request using the arguments established.private static void
errorAndExit
(String errorMessage) Logs, as an error, the error message and exits the program.static void
Command line entry point.
-
Field Details
-
ARGS_PROPERTY
Name of system property for command line argument class.- See Also:
-
-
Constructor Details
-
CLI
private CLI()Constructor.
-
-
Method Details
-
main
public static void main(@Nonnull String[] args) throws ReflectiveOperationException, SecurityException, IllegalArgumentException Command line entry point.- Parameters:
args
- command line arguments- Throws:
SecurityException
- from the object constructionReflectiveOperationException
- from the object constructionIllegalArgumentException
- from the object construction
-
doRequest
Make a request using the arguments established.- Parameters:
args
- the populated command line arguments
-
errorAndExit
Logs, as an error, the error message and exits the program.- Parameters:
errorMessage
- error message
-