Class LocalDescriptorRegistry
- java.lang.Object
-
- com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry
-
- com.xebialabs.deployit.booter.local.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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLocalDescriptorRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists(com.xebialabs.deployit.plugin.api.reflect.Type type)com.xebialabs.deployit.plugin.api.reflect.DescriptorgetDescriptor(com.xebialabs.deployit.plugin.api.reflect.Type type)java.util.Collection<com.xebialabs.deployit.plugin.api.reflect.Descriptor>getDescriptors()intgetOrder()java.util.Collection<com.xebialabs.deployit.plugin.api.reflect.Type>getSubtypes(com.xebialabs.deployit.plugin.api.reflect.Type supertype)booleanisDefault()booleanisLocal()voidregister(com.xebialabs.deployit.plugin.api.reflect.Descriptor descriptor)voidregisterSubtype(com.xebialabs.deployit.plugin.api.reflect.Type supertype, com.xebialabs.deployit.plugin.api.reflect.Type subtype)voidverifyTypes()-
Methods inherited from class com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry
getHooks, getId, lookupType, lookupType, lookupType, registerHook
-
-
-
-
Field Detail
-
ORDER
public static final int ORDER
- See Also:
- Constant Field Values
-
LOCAL_ID
public static final com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistryId LOCAL_ID
-
-
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:
verifyTypesin interfacecom.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry- Overrides:
verifyTypesin classcom.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry
-
-