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
public class ModuleManagerArguments extends net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArgumentsArguments forIdPModulemanagement CLI.
-
-
Field Summary
Fields Modifier and Type Field Description private booleancleanClean when disabling.private List<String>disableModuleIdsID of module(s) to enable.private List<String>enableModuleIdsID of module(s) to enable.private List<String>infoModuleIdsDetailed info about installed module(s).private booleanlistBrief info about installed modules.private org.slf4j.LoggerlogLogger.private List<String>testModuleIdsTest status of installed module(s).
-
Constructor Summary
Constructors Constructor Description ModuleManagerArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetClean()Are we disabling with the clean option?Collection<String>getDisableModuleIds()Gets the module ID(s) to disable.Collection<String>getEnableModuleIds()Gets the module ID(s) to enable.Collection<String>getInfoModuleIds()Gets the module ID(s) to report on.booleangetList()Are we doing a list?org.slf4j.LoggergetLog()Collection<String>getTestModuleIds()Gets the module ID(s) to test.voidprintHelp(PrintStream out)voidvalidate()-
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 Detail
-
log
@Nullable private org.slf4j.Logger log
Logger.
-
list
@Nullable private boolean list
Brief info about installed modules.
-
infoModuleIds
@Nullable @NonnullElements private List<String> infoModuleIds
Detailed info about installed module(s).
-
testModuleIds
@Nullable @NonnullElements private List<String> testModuleIds
Test status of installed module(s).
-
enableModuleIds
@Nullable @NonnullElements private List<String> enableModuleIds
ID of module(s) to enable.
-
disableModuleIds
@Nullable @NonnullElements private List<String> disableModuleIds
ID of module(s) to enable.
-
clean
@Nullable private boolean clean
Clean when disabling.
-
-
Method Detail
-
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
@Nullable @NonnullElements @NotLive @Unmodifiable public Collection<String> getInfoModuleIds()
Gets the module ID(s) to report on.- Returns:
- module ID(s) to report on
-
getTestModuleIds
@Nullable @NonnullElements @NotLive @Unmodifiable public Collection<String> getTestModuleIds()
Gets the module ID(s) to test.- Returns:
- module ID(s) to test
-
getEnableModuleIds
@Nullable @NonnullElements @NotLive @Unmodifiable public Collection<String> getEnableModuleIds()
Gets the module ID(s) to enable.- Returns:
- module ID(s) to enable
-
getDisableModuleIds
@Nullable @NonnullElements @NotLive @Unmodifiable public Collection<String> 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
public void validate() throws IllegalArgumentException- Specified by:
validatein interfaceCommandLineArguments- Overrides:
validatein classAbstractCommandLineArguments- Throws:
IllegalArgumentException
-
printHelp
public void printHelp(PrintStream out)
- Specified by:
printHelpin interfaceCommandLineArguments- Overrides:
printHelpin classnet.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
-
-