***  This interface provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.deployment
Interface ConsumedResourceInterface

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
ConsumedResource, ConsumedResourceAdapter, FactoryAction, ProfileDomain, RepositoryDef, RepositoryGroup, ServerDef, SimpleUserIdentity

public interface ConsumedResourceInterface
extends java.lang.Cloneable

Interface representing a resource defined within a service configuration which may be used by zero or more consumers of an application.

Since:
9.2

Method Summary
 java.lang.Object clone()
          Clones the resource.
 java.lang.String getLocalizedResourceType()
          Gets a localized value describing the resource's type.
 java.lang.String getLocalizedResourceTypeAndValue()
          Gets a localized value describing the resource's type and value.
 java.lang.String getResourceID()
          Gets the id that uniquely identifies the resource within a service's configuration.
 java.lang.String getResourceType()
          Gets a value describing the resource's type.
 int getResourceTypeCode()
          Gets the code describing the resource's type.
 java.lang.String getResourceValue()
          Gets the value used to identify the service configuration resource.
 boolean isRequired()
          Determines if this resource is required by the service's configuration.
 

Method Detail

getResourceValue

java.lang.String getResourceValue()
Gets the value used to identify the service configuration resource.

Returns:
Service configuration resource's value.

getLocalizedResourceType

java.lang.String getLocalizedResourceType()
Gets a localized value describing the resource's type.

Returns:
Resource's type. For example, a Logging Service configuration's resource types would be localized values for "Context", "Output", and "Renderer".

getLocalizedResourceTypeAndValue

java.lang.String getLocalizedResourceTypeAndValue()
Gets a localized value describing the resource's type and value.

Returns:
Resource's type. For example, a Logging Service configuration's resource types would be localized values for
  • "Context : com.sas.services"
  • "Output : A1"
  • "Renderer: com.sas.MyRenderer"

getResourceType

java.lang.String getResourceType()
Gets a value describing the resource's type.

Returns:
Resource's type. For example, a Logging Service configuration's resource types would be "Context", "Output", and "Renderer".

getResourceTypeCode

int getResourceTypeCode()
Gets the code describing the resource's type.

Returns:
Resource's type code.

getResourceID

java.lang.String getResourceID()
Gets the id that uniquely identifies the resource within a service's configuration.

Returns:
Resource's ID.

isRequired

boolean isRequired()
Determines if this resource is required by the service's configuration.

Returns:
true if this resource is required by the service's configuration.

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clones the resource.

Returns:
Clone of this resource.
Throws:
java.lang.CloneNotSupportedException

***  This interface provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.