Class LocalDescriptorRegistry

  • All Implemented Interfaces:
    com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry, java.lang.AutoCloseable

    public class LocalDescriptorRegistry
    extends com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistryId LOCAL_ID  
      static int ORDER  
      • Fields inherited from interface com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry

        DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean _exists​(com.xebialabs.deployit.plugin.api.reflect.Type type)  
      com.xebialabs.deployit.plugin.api.reflect.Descriptor _getDescriptor​(com.xebialabs.deployit.plugin.api.reflect.Type type)  
      java.util.Collection<com.xebialabs.deployit.plugin.api.reflect.Descriptor> _getDescriptors()  
      java.util.Collection<com.xebialabs.deployit.plugin.api.reflect.Type> _getSubtypes​(com.xebialabs.deployit.plugin.api.reflect.Type supertype)  
      int getOrder()  
      boolean isDefault()  
      boolean isLocal()  
      void register​(com.xebialabs.deployit.plugin.api.reflect.Descriptor descriptor)  
      void registerSubtype​(com.xebialabs.deployit.plugin.api.reflect.Type supertype, com.xebialabs.deployit.plugin.api.reflect.Type subtype)  
      void verifyTypes()  
      • Methods inherited from class com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry

        getId, lookupType, lookupType, lookupType
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry

        close
    • Field Detail

      • LOCAL_ID

        public static final com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistryId LOCAL_ID
    • Constructor Detail

      • LocalDescriptorRegistry

        protected LocalDescriptorRegistry()
    • Method Detail

      • register

        public void register​(com.xebialabs.deployit.plugin.api.reflect.Descriptor descriptor)
      • registerSubtype

        public void registerSubtype​(com.xebialabs.deployit.plugin.api.reflect.Type supertype,
                                    com.xebialabs.deployit.plugin.api.reflect.Type subtype)
      • isLocal

        public boolean isLocal()
      • isDefault

        public boolean isDefault()
      • getOrder

        public int getOrder()
      • _getDescriptors

        public java.util.Collection<com.xebialabs.deployit.plugin.api.reflect.Descriptor> _getDescriptors()
      • _getSubtypes

        public java.util.Collection<com.xebialabs.deployit.plugin.api.reflect.Type> _getSubtypes​(com.xebialabs.deployit.plugin.api.reflect.Type supertype)
      • _getDescriptor

        public com.xebialabs.deployit.plugin.api.reflect.Descriptor _getDescriptor​(com.xebialabs.deployit.plugin.api.reflect.Type type)
      • _exists

        public boolean _exists​(com.xebialabs.deployit.plugin.api.reflect.Type type)
      • verifyTypes

        public void verifyTypes()
        Specified by:
        verifyTypes in interface com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry
        Overrides:
        verifyTypes in class com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry