Interface SystemSetupCollector
-
- All Known Implementing Classes:
SystemSetupCollectorImpl
public interface SystemSetupCollectorTheSystemSetupCollectorcollects all classes and methods which will be used during init/update process of the platform according to the usedSystemSetupannotation.- See Also:
SystemSetup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecuteMethods(SystemSetupContext systemSetupContext)Executes methods from the dataPool created before, according to the givenSystemSetupContextjava.util.List<SystemSetupCollectorResult>getApplicablePatches(java.lang.String extensionName)Returns all applicable patches for given extension.java.util.Map<java.lang.String,java.lang.String[]>getDefaultParameterMap(java.lang.String extensionName)java.util.List<SystemSetupParameter>getParameterMap(java.lang.String extensionName)Returns allSystemSetupParameterin a list for the given extension.booleanhasEssentialData(java.lang.String extensionName)booleanhasParameter(java.lang.String extensionName)booleanhasProjectData(java.lang.String extensionName)
-
-
-
Method Detail
-
hasProjectData
boolean hasProjectData(java.lang.String extensionName)
- Returns:
- true, if the given extension has annotated methods for the project data creation
-
hasEssentialData
boolean hasEssentialData(java.lang.String extensionName)
- Returns:
- true, if the given extension has annotated methods for the essential data creation
-
hasParameter
boolean hasParameter(java.lang.String extensionName)
- Returns:
- true, if the given extension has annotated methods returning
SystemSetupParameter
-
getParameterMap
java.util.List<SystemSetupParameter> getParameterMap(java.lang.String extensionName)
Returns allSystemSetupParameterin a list for the given extension.- Returns:
nullif nothing exists.
-
getDefaultParameterMap
java.util.Map<java.lang.String,java.lang.String[]> getDefaultParameterMap(java.lang.String extensionName)
- Returns:
- returns a default parameter Map with the parameter key as key and the default value as
-
executeMethods
void executeMethods(SystemSetupContext systemSetupContext)
Executes methods from the dataPool created before, according to the givenSystemSetupContext- Parameters:
systemSetupContext-SystemSetupContext
-
getApplicablePatches
java.util.List<SystemSetupCollectorResult> getApplicablePatches(java.lang.String extensionName)
Returns all applicable patches for given extension.- Parameters:
extensionName-- Returns:
- List of patch data or empty list if there are no pending patches to apply
-
-