T - Type of configuration datapublic interface TemplateSynchronisationSource<T>
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
forStorage(T config)
Configuration for storage
|
java.util.List<java.lang.String> |
getBranchNames(Branch branch,
T config)
List of branch names to use on synchronisation.
|
Form |
getForm(Branch branch)
Gets the form used for this source in a branch.
|
java.lang.String |
getId()
ID of the source
|
java.lang.String |
getName()
Display name for the source
|
boolean |
isApplicable(Branch branch)
Is this source applicable for a given template branch?
|
T |
parseConfig(com.fasterxml.jackson.databind.JsonNode node)
Parses the configuration
|
java.lang.String getId()
java.lang.String getName()
boolean isApplicable(Branch branch)
Form getForm(Branch branch)
java.util.List<java.lang.String> getBranchNames(Branch branch, T config)
T parseConfig(com.fasterxml.jackson.databind.JsonNode node)
com.fasterxml.jackson.databind.JsonNode forStorage(T config)