Class TransformerProperties


  • public class TransformerProperties
    extends java.lang.Object
    Provides access to transformer properties which come from the Transformer sub system AND the those that start with "content.transformer." in the parent context.

    By default a subsystem only provides properties defined within itself and only those properties may be overridden by alfresco.global.properties. New properties may not be added. As this class allows this to happen for the Transformers subsystem.

    Author:
    Alan Davis
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Properties getDefaultProperties()
      Returns the default properties from the transformers.properties file.
      java.lang.String getProperty​(java.lang.String name)  
      java.util.Set<java.lang.String> getPropertyNames()  
      void removeProperties​(java.util.Collection<java.lang.String> propertyNames)  
      void setProperties​(java.util.Map<java.lang.String,​java.lang.String> map)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getProperty

        public java.lang.String getProperty​(java.lang.String name)
      • getDefaultProperties

        public java.util.Properties getDefaultProperties()
        Returns the default properties from the transformers.properties file. These may be overridden by customers in other property files and JMX.
      • getPropertyNames

        public java.util.Set<java.lang.String> getPropertyNames()
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> map)
      • removeProperties

        public void removeProperties​(java.util.Collection<java.lang.String> propertyNames)