Interface ResourceManager

    • Method Detail

      • create

        ResourceStatus create​(Resources resources,
                              HashMap attributes,
                              Properties properties,
                              String target)
                       throws Exception
        creates the resource as a child to the resources provided
        Parameters:
        resources - parent for the resource to be created
        attributes - resource configuration
        properties - properties
        target - target
        Returns:
        ResourceStatus indicating the status of resource creation
        Throws:
        Exception - when unable to create the resource
      • createConfigBean

        Resource createConfigBean​(Resources resources,
                                  HashMap attributes,
                                  Properties properties,
                                  boolean validate)
                           throws Exception
        creates config-bean equivalent for the resource configuration provided as attributes and properties
        Does not persist the configuration
        Parameters:
        resources - parent for the resource to be created
        attributes - attributes of the resource
        properties - properties of the resource
        validate - indicate whether config validation is required or not
        Returns:
        Config-Bean equivalent of the resource
        Throws:
        Exception - when unable to create config-bean-equivalent
      • getResourceType

        String getResourceType()
        returns the resource-type
        Returns:
        resource-type