|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xebialabs.deployit.reflect.ConfigurationItemDescriptor
public class ConfigurationItemDescriptor
Describes a ConfigurationItem.
| Constructor Summary | |
|---|---|
ConfigurationItemDescriptor()
Deprecated. Needed for BlazeDS. Do not invoke! |
|
ConfigurationItemDescriptor(java.lang.Class<?> typeClass,
java.util.Map<java.lang.String,java.lang.String> configuredDefaults)
Constructs a ConfigurationItemDescriptor. |
|
| Method Summary | |
|---|---|
int |
compareTo(ConfigurationItemDescriptor descriptor)
Compares this ConfigurationItemDescriptor to another and return -1, 0 or 1 depending on the difference. |
java.lang.String |
getCategory()
Gets the category of this configuration item type. |
java.lang.String |
getDefaultDescription()
Gets the default description for newly created configuration items of this type. |
java.lang.String |
getDefaultPermissionSchemeLabel()
Gets the label of the default permission scheme for newly created configuration items of this type. |
java.lang.String |
getDescription()
Gets the description of this configuration item type. |
java.lang.reflect.Field |
getDescriptionPropertyField()
Gets the Field that has been annotated with ConfigurationItemDescription to hold the description. |
java.lang.String |
getDescriptionPropertyName()
Gets the name of the field that has been annotated with ConfigurationItemDescription to hold the
description. |
java.lang.String |
getDescriptionValueFromConfigurationItem(java.lang.Object configurationItem)
Gets a description from a configuration item. |
java.util.Set<java.lang.String> |
getInterfaces()
Gets the names of the interfaces implemented by this configuration item. |
java.lang.reflect.Field |
getLabelPropertyField()
Gets the Field that has been annotated with ConfigurationItemLabel to hold the label. |
java.lang.String |
getLabelPropertyName()
Gets the name of the field that has been annotated with ConfigurationItemLabel to hold the label. |
java.lang.String |
getLabelValueFromConfigurationItem(java.lang.Object configurationItem)
Gets a label from a configuration item. |
java.lang.reflect.Field |
getPermissionSchemePropertyField()
Gets the Field that has been annotated with ConfigurationItemPermissionScheme to hold the
PermissionScheme. |
java.lang.String |
getPermissionSchemePropertyName()
Gets the name of the field that has been annotated with ConfigurationItemPermissionScheme to hold the
PermissionScheme. |
PermissionScheme |
getPermissionSchemeValueFromConfigurationItem(java.lang.Object configurationItem)
Gets a permission scheme from a configuration item. |
ConfigurationItemPropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName)
|
ConfigurationItemPropertyDescriptor[] |
getPropertyDescriptors()
Gets the descriptors of the properties of the configuration item type described by this ConfigurationItem=Descriptor. |
java.lang.String |
getSimpleName()
Gets the pretty name of the type this descriptor describes. |
java.lang.String[] |
getSourceForMappingTypes()
Gets the source types for this configuration item type if this configuration item type is a Mapping. |
java.util.ArrayList<java.lang.String> |
getSuperClasses()
Gets the names of the superclasses of this configuration item. |
java.lang.String[] |
getTargetForMappingTypes()
Gets the target types for this configuration item type if this configuration item type is a Mapping. |
java.lang.String |
getType()
Gets the type this descriptor describes. |
java.lang.Class<? extends java.lang.Object> |
getTypeClass()
Return the class object of the type this descriptor describes. |
boolean |
isExpandable()
Returns whether this configuration item type should be shown as expandable in the UI tree. |
java.lang.Object |
newInstance()
Creates a new instance of the configuration item type described by this ConfigurationItemDescriptor. |
void |
setCategory(java.lang.String category)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDefaultDescription(java.lang.String defaultDescription)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDefaultPermissionSchemeLabel(java.lang.String defaultPermissionSchemeLabel)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDescription(java.lang.String description)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDescriptionPropertyName(java.lang.String descriptionPropertyName)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setDescriptionValueInConfigurationItem(java.lang.Object configurationItem,
java.lang.String descriptionValue)
Sets a description on a configuration item. |
void |
setExpandable(boolean expandable)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setInterfaces(java.util.Set<java.lang.String> interfaces)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setLabelPropertyName(java.lang.String labelPropertyName)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setLabelValueInConfigurationItem(java.lang.Object configurationItem,
java.lang.String labelValue)
Sets a label on a configuration item. |
void |
setPermissionSchemePropertyName(java.lang.String permissionSchemePropertyName)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setPermissionSchemeValueInConfigurationItem(java.lang.Object configurationItem,
PermissionScheme permissionSchemeValue)
Sets a PermissionScheme on a configuration item. |
void |
setPropertyDescriptors(ConfigurationItemPropertyDescriptor[] propertyDescriptors)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setSimpleName(java.lang.String simpleName)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setSourceForMappingTypes(java.lang.String[] sourceForMappingTypes)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setSuperClasses(java.util.ArrayList<java.lang.String> superClasses)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setTargetForMappingTypes(java.lang.String[] targetForMappingTypes)
Deprecated. Needed for BlazeDS. Do not invoke! |
void |
setType(java.lang.String type)
Deprecated. Needed for BlazeDS. Do not invoke! |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationItemDescriptor()
public ConfigurationItemDescriptor(java.lang.Class<?> typeClass,
java.util.Map<java.lang.String,java.lang.String> configuredDefaults)
| Method Detail |
|---|
public java.lang.String getType()
com.xebia.ad.websphere.server.WebSphereServer.public void setType(java.lang.String type)
public java.lang.Class<? extends java.lang.Object> getTypeClass()
public java.lang.String getSimpleName()
WebSphereServer.public void setSimpleName(java.lang.String simpleName)
public java.lang.Object newInstance()
public ConfigurationItemPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface ConfigurationItemPropertyHolderConfigurationItemPropertyDescriptors.public ConfigurationItemPropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
getPropertyDescriptor in interface ConfigurationItemPropertyHolderpublic void setPropertyDescriptors(ConfigurationItemPropertyDescriptor[] propertyDescriptors)
public java.lang.String getLabelPropertyName()
ConfigurationItemLabel to hold the label.
public java.lang.reflect.Field getLabelPropertyField()
Field that has been annotated with ConfigurationItemLabel to hold the label.
public void setLabelPropertyName(java.lang.String labelPropertyName)
public java.lang.String getLabelValueFromConfigurationItem(java.lang.Object configurationItem)
configurationItem - the configuration item to get the label from.
label property.
public void setLabelValueInConfigurationItem(java.lang.Object configurationItem,
java.lang.String labelValue)
configurationItem - the configuration item to set the label on.labelValue - the label to setpublic java.lang.String getDescriptionPropertyName()
ConfigurationItemDescription to hold the
description.
public java.lang.reflect.Field getDescriptionPropertyField()
Field that has been annotated with ConfigurationItemDescription to hold the description.
public void setDescriptionPropertyName(java.lang.String descriptionPropertyName)
public java.lang.String getDescriptionValueFromConfigurationItem(java.lang.Object configurationItem)
configurationItem - the configuration item to get the description from.
description property.
public void setDescriptionValueInConfigurationItem(java.lang.Object configurationItem,
java.lang.String descriptionValue)
configurationItem - the configuration item to set the label on.descriptionValue - the description to setpublic java.lang.String getDefaultDescription()
public void setDefaultDescription(java.lang.String defaultDescription)
public java.lang.String getPermissionSchemePropertyName()
ConfigurationItemPermissionScheme to hold the
PermissionScheme.
public java.lang.reflect.Field getPermissionSchemePropertyField()
Field that has been annotated with ConfigurationItemPermissionScheme to hold the
PermissionScheme.
public void setPermissionSchemePropertyName(java.lang.String permissionSchemePropertyName)
public PermissionScheme getPermissionSchemeValueFromConfigurationItem(java.lang.Object configurationItem)
configurationItem - the configuration item to get the description from.
permission scheme property.
public void setPermissionSchemeValueInConfigurationItem(java.lang.Object configurationItem,
PermissionScheme permissionSchemeValue)
PermissionScheme on a configuration item.
configurationItem - the configuration item to set the permission scheme on.permissionSchemeValue - the permission scheme to setpublic java.lang.String getDefaultPermissionSchemeLabel()
public void setDefaultPermissionSchemeLabel(java.lang.String defaultPermissionSchemeLabel)
public java.util.Set<java.lang.String> getInterfaces()
public void setInterfaces(java.util.Set<java.lang.String> interfaces)
public java.util.ArrayList<java.lang.String> getSuperClasses()
N.B.: The return type needs to be specified as ArrayList instead of List for BlazeDS.
public void setSuperClasses(java.util.ArrayList<java.lang.String> superClasses)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
public boolean isExpandable()
public void setExpandable(boolean expandable)
public java.lang.String[] getSourceForMappingTypes()
public void setSourceForMappingTypes(java.lang.String[] sourceForMappingTypes)
public java.lang.String[] getTargetForMappingTypes()
public void setTargetForMappingTypes(java.lang.String[] targetForMappingTypes)
public int compareTo(ConfigurationItemDescriptor descriptor)
compareTo in interface java.lang.Comparable<ConfigurationItemDescriptor>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||