Class CombinedConfig
- java.lang.Object
-
- org.alfresco.transform.client.model.config.CombinedConfig
-
public class CombinedConfig extends Object
This class recreates the json format used in ACS 6.1 where we just had an array of transformers and each transformer has a list of node options. The idea of this code is that it replaces the references with the actual node options that have been separated out into their own section.The T-Router and T-Engines return the format with the node option separated into their own section. Pipeline definitions used by the LocalTransformServiceRegistry may use node reference options defined in the json returned by T-Engines. with the actual definitions from the node options reference section. It also combines multiple json sources into a single jsonNode structure that can be parsed as before.
-
-
Constructor Summary
Constructors Constructor Description CombinedConfig(org.apache.commons.logging.Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocalConfig(String path)booleanaddRemoteConfig(List<String> urls, String remoteType)List<org.alfresco.transform.client.model.config.CombinedConfig.TransformAndItsOrigin>getTransforms()voidregister(TransformServiceRegistryImpl.Data data, TransformServiceRegistryImpl registry)
-
-
-
Method Detail
-
addLocalConfig
public void addLocalConfig(String path) throws IOException
- Throws:
IOException
-
register
public void register(TransformServiceRegistryImpl.Data data, TransformServiceRegistryImpl registry) throws IOException
- Throws:
IOException
-
getTransforms
public List<org.alfresco.transform.client.model.config.CombinedConfig.TransformAndItsOrigin> getTransforms() throws IOException
- Throws:
IOException
-
-