@ResourceConfigCreator(commandName="create-custom-resource") @ResourceTypeOrder(deploymentOrder=CUSTOM_RESOURCE) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=CustomResource.class) public interface CustomResource extends ConfigBeanProxy, Resource, PropertyBag, BindableResource
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomResource.Duck |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getEnabled()
Gets the value of the enabled property.
|
@NotNull String |
getFactoryClass()
Gets the value of the factoryClass property.
|
String |
getIdentity() |
List<Property> |
getProperty()
Properties as per
PropertyBag |
@NotNull String |
getResType()
Gets the value of the resType property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEnabled(String value)
Sets the value of the enabled property.
|
void |
setFactoryClass(String value)
Sets the value of the factoryClass property.
|
void |
setResType(String value)
Sets the value of the resType property.
|
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removePropertygetJndiName, setJndiNamegetDeploymentOrder, getObjectType, setDeploymentOrder, setObjectTypecreateChild, deepCopy, getParent, getParent@NotNull @NotNull String getResType()
Stringvoid setResType(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@NotNull @JavaClassName @NotNull String getFactoryClass()
Stringvoid setFactoryClass(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getEnabled()
getEnabled in interface BindableResourceStringvoid setEnabled(String value) throws PropertyVetoException
setEnabled in interface BindableResourcevalue - allowed object is
StringPropertyVetoExceptionString getDescription()
Stringvoid setDescription(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<Property> getProperty()
PropertyBaggetProperty in interface PropertyBag@DuckTyped String getIdentity()
getIdentity in interface BindableResourcegetIdentity in interface ResourceCopyright © 2019. All rights reserved.