Package net.shibboleth.idp.cli.impl
Class ModuleManagerArguments
java.lang.Object
net.shibboleth.shared.cli.AbstractCommandLineArguments
net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
net.shibboleth.idp.cli.impl.ModuleManagerArguments
- All Implemented Interfaces:
CommandLineArguments
Arguments for
IdPModule management CLI.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanClean when disabling.ID of module(s) to enable.ID of module(s) to enable.Detailed info about installed module(s).private booleanBrief info about installed modules.private org.slf4j.LoggerLogger.Test status of installed module(s). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetClean()Are we disabling with the clean option?Gets the module ID(s) to disable.Gets the module ID(s) to enable.Gets the module ID(s) to report on.booleangetList()Are we doing a list?org.slf4j.LoggergetLog()Gets the module ID(s) to test.voidprintHelp(PrintStream out) voidvalidate()Methods inherited from class net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
getHttpClientName, getHttpClientSecurityParameterstName, getIdPHome, setHttpClientNameMethods inherited from class net.shibboleth.shared.cli.AbstractCommandLineArguments
getLanguageRanges, getLoggingConfiguration, getOtherArgs, getPropertyFiles, isANSI, isHelp, isQuietOutput, isVerboseOutput, isVersion
-
Field Details
-
log
@Nullable private org.slf4j.Logger logLogger. -
list
private boolean listBrief info about installed modules. -
infoModuleIds
Detailed info about installed module(s). -
testModuleIds
Test status of installed module(s). -
enableModuleIds
ID of module(s) to enable. -
disableModuleIds
ID of module(s) to enable. -
clean
private boolean cleanClean when disabling.
-
-
Constructor Details
-
ModuleManagerArguments
public ModuleManagerArguments()
-
-
Method Details
-
getLog
@Nonnull public org.slf4j.Logger getLog()- Specified by:
getLogin classAbstractCommandLineArguments
-
getList
public boolean getList()Are we doing a list?- Returns:
- whether this is a list operation
-
getInfoModuleIds
Gets the module ID(s) to report on.- Returns:
- module ID(s) to report on
-
getTestModuleIds
Gets the module ID(s) to test.- Returns:
- module ID(s) to test
-
getEnableModuleIds
Gets the module ID(s) to enable.- Returns:
- module ID(s) to enable
-
getDisableModuleIds
Gets the module ID(s) to disable.- Returns:
- module ID(s) to disable
-
getClean
public boolean getClean()Are we disabling with the clean option?- Returns:
- clean option
-
validate
- Specified by:
validatein interfaceCommandLineArguments- Overrides:
validatein classAbstractCommandLineArguments- Throws:
IllegalArgumentException
-
printHelp
- Specified by:
printHelpin interfaceCommandLineArguments- Overrides:
printHelpin classAbstractIdPHomeAwareCommandLineArguments
-