public interface Descriptor
com.xebialabs.deployit.engine.api.MetadataService
,
which is also available as a REST API.Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(ConfigurationItem item,
ConfigurationItem other) |
java.lang.Class<?> |
getClazz() |
Type |
getContainerType()
Only applicable for
Deployed s. |
MethodDescriptor |
getControlTask(java.lang.String name) |
java.util.Collection<MethodDescriptor> |
getControlTasks() |
Type |
getDeployableType()
Only applicable for
Deployed s. |
java.lang.String |
getDescription() |
java.util.Set<Type> |
getInterfaces() |
PropertyDescriptor |
getPropertyDescriptor(java.lang.String name) |
java.util.Collection<PropertyDescriptor> |
getPropertyDescriptors()
Note: The return-type is a Collection, but a List is actually returned.
|
Metadata.ConfigurationItemRoot |
getRoot() |
java.util.List<Type> |
getSuperClasses() |
Type |
getType() |
boolean |
isAssignableTo(java.lang.Class<?> clazz) |
boolean |
isAssignableTo(Type type) |
boolean |
isInspectable() |
boolean |
isVersioned() |
boolean |
isVirtual() |
<T extends ConfigurationItem> |
newInstance()
Deprecated.
|
<T extends ConfigurationItem> |
newInstance(java.lang.String id) |
java.lang.String |
toString() |
java.util.List<ValidationMessage> |
validate(ConfigurationItem ci)
Validates the values for each property of the CI.
|
Type getType()
ConfigurationItem
.java.lang.Class<?> getClazz()
ConfigurationItem
class object.java.lang.String getDescription()
Metadata.ConfigurationItemRoot getRoot()
java.util.Collection<PropertyDescriptor> getPropertyDescriptors()
PropertyDescriptor getPropertyDescriptor(java.lang.String name)
name
- The name of the property.MethodDescriptor getControlTask(java.lang.String name)
name
- The name of the control methods.java.util.Collection<MethodDescriptor> getControlTasks()
boolean isAssignableTo(java.lang.Class<?> clazz)
clazz
- A ConfigurationItem
class object.boolean isAssignableTo(Type type)
type
- A CI type.java.util.List<Type> getSuperClasses()
ConfigurationItem
.java.util.Set<Type> getInterfaces()
ConfigurationItem
implements.boolean isVirtual()
boolean isVersioned()
boolean areEqual(ConfigurationItem item, ConfigurationItem other)
@Deprecated <T extends ConfigurationItem> T newInstance()
newInstance(String)
<T extends ConfigurationItem> T newInstance(java.lang.String id)
T
- The ConfigurationItem
class.id
- The ConfigurationItem
id.java.lang.String toString()
toString
in class java.lang.Object
Type getDeployableType()
Deployed
s.Deployable
type that created this deployed.Type getContainerType()
Deployed
s.Container
type this deployed can be deployed to.java.util.List<ValidationMessage> validate(ConfigurationItem ci)
ci
- The ConfigurationItem
to ve validated.ValidationMessage
s.boolean isInspectable()