Package net.shibboleth.idp.module.impl
Class ModuleManagerArguments
java.lang.Object
net.shibboleth.ext.spring.cli.AbstractCommandLineArguments
net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
net.shibboleth.idp.module.impl.ModuleManagerArguments
- All Implemented Interfaces:
CommandLineArguments
Arguments for
IdPModule
management CLI.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Clean when disabling.ID of module(s) to enable.ID of module(s) to enable.Detailed info about installed module(s).private boolean
Brief info about installed modules.private org.slf4j.Logger
Logger.Test status of installed module(s). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getClean()
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.boolean
getList()
Are we doing a list?org.slf4j.Logger
getLog()
Gets the module ID(s) to test.void
printHelp
(PrintStream out) void
validate()
Methods inherited from class net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
getHttpClientName, getHttpClientSecurityParameterstName, getIdPHome, setHttpClientName
Methods inherited from class net.shibboleth.ext.spring.cli.AbstractCommandLineArguments
getLanguageRanges, getLoggingConfiguration, getOtherArgs, getPropertyFiles, isANSI, isHelp, isQuietOutput, isVerboseOutput, isVersion
-
Field Details
-
log
@Nullable private org.slf4j.Logger logLogger. -
list
@Nullable 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
@Nullable private boolean cleanClean when disabling.
-
-
Constructor Details
-
ModuleManagerArguments
public ModuleManagerArguments()
-
-
Method Details
-
getLog
@Nonnull public org.slf4j.Logger getLog()- Specified by:
getLog
in 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:
validate
in interfaceCommandLineArguments
- Overrides:
validate
in classAbstractCommandLineArguments
- Throws:
IllegalArgumentException
-
printHelp
- Specified by:
printHelp
in interfaceCommandLineArguments
- Overrides:
printHelp
in classAbstractIdPHomeAwareCommandLineArguments
-