|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.deployment.ConsumedResource
public final class ConsumedResource
A service configuration's resource which can be used by a Consumer
.
Constructor Summary | |
---|---|
ConsumedResource(java.lang.String resourceID,
java.lang.String resourceName,
java.lang.String resourceType,
int resourceTypeCode,
java.lang.String resourceTypeLocalized,
boolean isRequired)
Constructs a consumed resource. |
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. |
Constructor Detail |
---|
public ConsumedResource(java.lang.String resourceID, java.lang.String resourceName, java.lang.String resourceType, int resourceTypeCode, java.lang.String resourceTypeLocalized, boolean isRequired)
resourceID
- Unique identifier for a service configuration's resource.resourceName
- Service configuration resource's name.resourceType
- Service configuration resource's type.resourceTypeCode
- Enumeration code for a service configuration resource's type.resourceTypeLocalized
- Localized string representing the service configuration resource's type.isRequired
- true
if this resource is always required by the service's configuration.Method Detail |
---|
public java.lang.String getResourceID()
ConsumedResourceInterface
getResourceID
in interface ConsumedResourceInterface
public java.lang.String getResourceValue()
ConsumedResourceInterface
getResourceValue
in interface ConsumedResourceInterface
public java.lang.String getLocalizedResourceType()
ConsumedResourceInterface
getLocalizedResourceType
in interface ConsumedResourceInterface
public java.lang.String getLocalizedResourceTypeAndValue()
ConsumedResourceInterface
getLocalizedResourceTypeAndValue
in interface ConsumedResourceInterface
public java.lang.String getResourceType()
ConsumedResourceInterface
getResourceType
in interface ConsumedResourceInterface
public int getResourceTypeCode()
ConsumedResourceInterface
getResourceTypeCode
in interface ConsumedResourceInterface
public boolean isRequired()
ConsumedResourceInterface
isRequired
in interface ConsumedResourceInterface
true
if this resource is required by the service's
configuration.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
ConsumedResourceInterface
clone
in interface ConsumedResourceInterface
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |