Class ConfigurationExtensionFactory
java.lang.Object
org.jboss.as.controller.persistence.ConfigurationExtensionFactory
The factory in charge with loading the first ConfigurationExtension found.
- Author:
- Emmanuel Hugonnet (c) 2021 Red Hat, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if the the argument is is one of those required by this configuration extension.static ConfigurationExtensioncreateConfigurationExtension(Path... files) Create the instance of ConfigurationExtension built from the supplemental configuration files.static StringReturns the command line instructions.static String[]The command line usage arguments.static booleanReturns true if a configuration extension is loaded - false otherwise.
-
Constructor Details
-
ConfigurationExtensionFactory
public ConfigurationExtensionFactory()
-
-
Method Details
-
isConfigurationExtensionSupported
public static boolean isConfigurationExtensionSupported()Returns true if a configuration extension is loaded - false otherwise.- Returns:
- true if a configuration extension is loaded - false otherwise.
-
getCommandLineInstructions
Returns the command line instructions.- Returns:
- the command line instructions.
-
getCommandLineUsageArguments
The command line usage arguments.- Returns:
- the command line usage arguments.
-
commandLineContainsArgument
Checks if the the argument is is one of those required by this configuration extension.- Parameters:
arg- : the current command line argument.- Returns:
- true if the argument is one of those required by this configuration extension - false otherwise.
-
createConfigurationExtension
Create the instance of ConfigurationExtension built from the supplemental configuration files.- Parameters:
files- : the supplemental configuration files.- Returns:
- the instance of ConfigurationExtension built from the supplemental configuration files.
-