|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.resource.ResourceSpecification
public class ResourceSpecification
The specification of a resource to be created, or which already exists.
Nested Class Summary | |
---|---|
static class |
ResourceSpecification.ResourceType
The allowed type of resources that can be specified. |
Constructor Summary | |
---|---|
ResourceSpecification(String path)
Constructor |
|
ResourceSpecification(String path,
String version,
boolean includeSubFolders)
Constructor |
|
ResourceSpecification(String path,
String version,
ResourceSpecification.ResourceType type,
boolean includeSubFolders)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getPath()
Get the specified path. |
ResourceSpecification.ResourceType |
getType()
Get the resource type specified. |
String |
getVersion()
Get the specified version. |
int |
hashCode()
Return a hash code value for the object. |
boolean |
isIncludeSubFolders()
Is the includeSubFolders value set to true? |
void |
setIncludeSubFolders(boolean includeSubFolders)
Set the includeSubFolders value |
void |
setPath(String path)
Set the specified path. |
void |
setType(ResourceSpecification.ResourceType type)
Set the resource type specified. |
void |
setVersion(String version)
Set the specified version. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceSpecification(String path, String version, boolean includeSubFolders)
path
- path of the resourceversion
- the version label of the resourceincludeSubFolders
- public ResourceSpecification(String path, String version, ResourceSpecification.ResourceType type, boolean includeSubFolders)
path
- path of the resourceversion
- the version label of the resourcetype
- the type of the resourceincludeSubFolders
- public ResourceSpecification(String path)
path
- path of the resourceMethod Detail |
---|
public String getPath()
public void setPath(String path)
path
- the path to setpublic String getVersion()
public void setVersion(String version)
version
- the version to setpublic boolean isIncludeSubFolders()
public void setIncludeSubFolders(boolean includeSubFolders)
includeSubFolders
- the includeSubFolders value to setpublic ResourceSpecification.ResourceType getType()
public void setType(ResourceSpecification.ResourceType type)
type
- the type to setpublic int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |