com.xebialabs.deployit.plugin.api.reflect
Class Descriptor

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.reflect.Descriptor

public class Descriptor
extends java.lang.Object


Method Summary
 boolean areEqual(ConfigurationItem item, ConfigurationItem other)
           
 java.lang.Class<?> getClazz()
           
 Type getContainerType()
           
 MethodDescriptor getControlTask(java.lang.String name)
           
 java.util.Collection<MethodDescriptor> getControlTasks()
           
 Type getDeployableType()
           
 java.lang.String getDescription()
           
 java.util.Set<Type> getInterfaces()
           
 PropertyDescriptor getPropertyDescriptor(java.lang.String name)
           
 java.util.Collection<PropertyDescriptor> getPropertyDescriptors()
           
 Metadata.ConfigurationItemRoot getRoot()
           
 java.util.List<Type> getSuperClasses()
           
 Type getType()
           
 boolean isAssignableTo(java.lang.Class<?> clazz)
           
 boolean isAssignableTo(Type type)
           
 boolean isVirtual()
           
<T extends ConfigurationItem>
T
newInstance()
           
 java.lang.String toString()
           
 java.util.List<ValidationMessage> validate(ConfigurationItem ci)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getType

public Type getType()

getClazz

public java.lang.Class<?> getClazz()

getDescription

public java.lang.String getDescription()

getRoot

public Metadata.ConfigurationItemRoot getRoot()

getPropertyDescriptors

public java.util.Collection<PropertyDescriptor> getPropertyDescriptors()

getPropertyDescriptor

public PropertyDescriptor getPropertyDescriptor(java.lang.String name)

getControlTask

public MethodDescriptor getControlTask(java.lang.String name)

getControlTasks

public java.util.Collection<MethodDescriptor> getControlTasks()

isAssignableTo

public boolean isAssignableTo(java.lang.Class<?> clazz)

isAssignableTo

public boolean isAssignableTo(Type type)

getSuperClasses

public java.util.List<Type> getSuperClasses()

getInterfaces

public java.util.Set<Type> getInterfaces()

isVirtual

public boolean isVirtual()

areEqual

public boolean areEqual(ConfigurationItem item,
                        ConfigurationItem other)

newInstance

public <T extends ConfigurationItem> T newInstance()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDeployableType

public Type getDeployableType()

getContainerType

public Type getContainerType()

validate

public java.util.List<ValidationMessage> validate(ConfigurationItem ci)