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, wait
getEncoding, getLastModified, getLastRead, getURL, hasURL, isDirectory, listResources
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public org.kie.api.io.ResourceConfiguration getConfiguration()
getConfiguration
in interface InternalResource
getConfiguration
in interface org.kie.api.io.Resource
public InternalResource setConfiguration(org.kie.api.io.ResourceConfiguration conf)
setConfiguration
in interface InternalResource
setConfiguration
in interface org.kie.api.io.Resource
public InternalResource setResourceType(org.kie.api.io.ResourceType resourceType)
setResourceType
in interface InternalResource
setResourceType
in interface org.kie.api.io.Resource
public org.kie.api.io.ResourceType getResourceType()
getResourceType
in interface InternalResource
getResourceType
in interface org.kie.api.io.Resource
public String getDescription()
InternalResource
getDescription
in interface InternalResource
public void setDescription(String description)
setDescription
in interface InternalResource
public String getSourcePath()
getSourcePath
in interface org.kie.api.io.Resource
public String getTargetPath()
getTargetPath
in interface org.kie.api.io.Resource
public InternalResource setSourcePath(String path)
setSourcePath
in interface org.kie.api.io.Resource
public InternalResource setTargetPath(String path)
setTargetPath
in interface org.kie.api.io.Resource
public List<String> getCategories()
getCategories
in interface InternalResource
public void setCategories(String categories)
setCategories
in interface InternalResource
public void addCategory(String tag)
addCategory
in interface InternalResource
public byte[] getBytes()
getBytes
in interface InternalResource
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.