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,AutoCloseable
public class LocalDescriptorRegistry
extends com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistryIdstatic final intFields inherited from interface com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry
DEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists(com.xebialabs.deployit.plugin.api.reflect.Type type) com.xebialabs.deployit.plugin.api.reflect.DescriptorgetDescriptor(com.xebialabs.deployit.plugin.api.reflect.Type type) Collection<com.xebialabs.deployit.plugin.api.reflect.Descriptor> intgetOrder()Collection<com.xebialabs.deployit.plugin.api.reflect.Type> getSubtypes(com.xebialabs.deployit.plugin.api.reflect.Type supertype) booleanbooleanisLocal()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) voidMethods inherited from class com.xebialabs.deployit.plugin.api.reflect.BaseDescriptorRegistry
getHooks, getId, lookupType, lookupType, lookupType, registerHookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.deployit.plugin.api.reflect.IDescriptorRegistry
close
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
LOCAL_ID
public static final com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistryId LOCAL_ID
-
-
Constructor Details
-
LocalDescriptorRegistry
protected LocalDescriptorRegistry()
-
-
Method Details
-
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
-
getSubtypes
public 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
-