public abstract class BaseResource extends Object implements InternalResource, Externalizable
| Constructor and Description |
|---|
BaseResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(String tag) |
boolean |
equals(Object o) |
byte[] |
getBytes() |
List<String> |
getCategories() |
org.kie.api.io.ResourceConfiguration |
getConfiguration() |
String |
getDescription()
Returns the description of the resource.
|
org.kie.api.io.ResourceType |
getResourceType() |
String |
getSourcePath() |
String |
getTargetPath() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setCategories(String categories) |
InternalResource |
setConfiguration(org.kie.api.io.ResourceConfiguration conf) |
void |
setDescription(String description) |
InternalResource |
setResourceType(org.kie.api.io.ResourceType resourceType) |
InternalResource |
setSourcePath(String path) |
InternalResource |
setTargetPath(String path) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEncoding, getLastModified, getLastRead, getURL, hasURL, isDirectory, listResourcespublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic org.kie.api.io.ResourceConfiguration getConfiguration()
getConfiguration in interface InternalResourcegetConfiguration in interface org.kie.api.io.Resourcepublic InternalResource setConfiguration(org.kie.api.io.ResourceConfiguration conf)
setConfiguration in interface InternalResourcesetConfiguration in interface org.kie.api.io.Resourcepublic InternalResource setResourceType(org.kie.api.io.ResourceType resourceType)
setResourceType in interface InternalResourcesetResourceType in interface org.kie.api.io.Resourcepublic org.kie.api.io.ResourceType getResourceType()
getResourceType in interface InternalResourcegetResourceType in interface org.kie.api.io.Resourcepublic String getDescription()
InternalResourcegetDescription in interface InternalResourcepublic void setDescription(String description)
setDescription in interface InternalResourcepublic String getSourcePath()
getSourcePath in interface org.kie.api.io.Resourcepublic String getTargetPath()
getTargetPath in interface org.kie.api.io.Resourcepublic InternalResource setSourcePath(String path)
setSourcePath in interface org.kie.api.io.Resourcepublic InternalResource setTargetPath(String path)
setTargetPath in interface org.kie.api.io.Resourcepublic List<String> getCategories()
getCategories in interface InternalResourcepublic void setCategories(String categories)
setCategories in interface InternalResourcepublic void addCategory(String tag)
addCategory in interface InternalResourcepublic byte[] getBytes()
getBytes in interface InternalResourceCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.