Module org.github.gestalt.git
Class GitConfigNodeFactory
- java.lang.Object
-
- org.github.gestalt.config.git.node.factory.GitConfigNodeFactory
-
- All Implemented Interfaces:
org.github.gestalt.config.node.factory.ConfigNodeFactory
public class GitConfigNodeFactory extends java.lang.Object implements org.github.gestalt.config.node.factory.ConfigNodeFactoryFactory for creating an Azure Blob Config Node from parameters.Load a config source from a File then converts it to a config node
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_BUCKET_REPO_URIstatic java.lang.StringPARAMETER_CONFIG_FILE_PATHstatic java.lang.StringPARAMETER_LOCAL_REPO_PATHstatic java.lang.StringPARAMETER_OBJECT_BRANCHstatic java.lang.StringSOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description GitConfigNodeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyConfig(org.github.gestalt.config.node.factory.ConfigNodeFactoryConfig config)org.github.gestalt.config.utils.GResultOf<java.util.List<org.github.gestalt.config.node.ConfigNode>>build(java.util.Map<java.lang.String,java.lang.String> parameters)java.lang.BooleansupportsType(java.lang.String type)
-
-
-
Field Detail
-
SOURCE_TYPE
public static final java.lang.String SOURCE_TYPE
- See Also:
- Constant Field Values
-
PARAMETER_BUCKET_REPO_URI
public static final java.lang.String PARAMETER_BUCKET_REPO_URI
- See Also:
- Constant Field Values
-
PARAMETER_OBJECT_BRANCH
public static final java.lang.String PARAMETER_OBJECT_BRANCH
- See Also:
- Constant Field Values
-
PARAMETER_CONFIG_FILE_PATH
public static final java.lang.String PARAMETER_CONFIG_FILE_PATH
- See Also:
- Constant Field Values
-
PARAMETER_LOCAL_REPO_PATH
public static final java.lang.String PARAMETER_LOCAL_REPO_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
applyConfig
public void applyConfig(org.github.gestalt.config.node.factory.ConfigNodeFactoryConfig config)
- Specified by:
applyConfigin interfaceorg.github.gestalt.config.node.factory.ConfigNodeFactory
-
supportsType
public java.lang.Boolean supportsType(java.lang.String type)
- Specified by:
supportsTypein interfaceorg.github.gestalt.config.node.factory.ConfigNodeFactory
-
build
public org.github.gestalt.config.utils.GResultOf<java.util.List<org.github.gestalt.config.node.ConfigNode>> build(java.util.Map<java.lang.String,java.lang.String> parameters)
- Specified by:
buildin interfaceorg.github.gestalt.config.node.factory.ConfigNodeFactory
-
-