public class ResourceSpecification extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ResourceSpecification.ResourceType
The allowed type of resources that can be specified.
|
Constructor and Description |
---|
ResourceSpecification(String path)
Constructor
|
ResourceSpecification(String path,
String version,
boolean includeSubFolders)
Constructor
|
ResourceSpecification(String path,
String version,
ResourceSpecification.ResourceType type,
boolean includeSubFolders)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
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 resourcepublic 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)
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA