Interface Resource

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
All Known Subinterfaces:
BindableResource, ResourcePool, ServerResource

public interface Resource extends org.jvnet.hk2.config.ConfigBeanProxy
Tag interface for all types of resource.
Author:
Jerome Dochez
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Gets true if this resource should be copied to any new instance or cluster.
    Gets the value of deploymentOrder.
    default String
     
    @Pattern(regexp="(system-all|system-all-req|system-admin|system-instance|user)",message="Valid values: (system-all|system-all-req|system-admin|system-instance|user)") String
    Gets the value of the objectType property. where object-type defines the type of the resource.
    void
    setDeploymentOrder(String deploymentOrder)
    Sets the value of the deploymentOrder.
    void
    setObjectType(String objectType)
    Sets the value of the objectType property.

    Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy

    createChild, deepCopy, getParent, getParent
  • Field Details

  • Method Details

    • getObjectType

      @Pattern(regexp="(system-all|system-all-req|system-admin|system-instance|user)", message="Valid values: (system-all|system-all-req|system-admin|system-instance|user)") @Pattern(regexp="(system-all|system-all-req|system-admin|system-instance|user)",message="Valid values: (system-all|system-all-req|system-admin|system-instance|user)") String getObjectType()
      Gets the value of the objectType property. where object-type defines the type of the resource. It can be:
      • system-all - These are system resources for all instances and DAS
      • system-all-req - These are system-all resources that are required to be configured in the system (cannot be deleted)
      • system-admin - These are system resources only in DAS
      • system-instance - These are system resources only in instances (and not DAS)
      • user - User resources (This is the default for all elements)
      Returns:
      possible object is String
    • setObjectType

      void setObjectType(String objectType) throws PropertyVetoException
      Sets the value of the objectType property.
      Parameters:
      objectType - allowed object is String
      Throws:
      PropertyVetoException - if the change is unacceptable to one of the listeners.
    • getDeploymentOrder

      String getDeploymentOrder()
      Gets the value of deploymentOrder.
      Returns:
      possible object is String
    • setDeploymentOrder

      void setDeploymentOrder(String deploymentOrder) throws PropertyVetoException
      Sets the value of the deploymentOrder.
      Parameters:
      deploymentOrder - allowed object is String
      Throws:
      PropertyVetoException - if the change is unacceptable to one of the listeners.
    • getIdentity

      default String getIdentity()
    • copyToInstance

      static boolean copyToInstance(Resource resource)
      Gets true if this resource should be copied to any new instance or cluster.