public class TaskDecompositionRepository extends DecompositionRepoMap
parser, shellSpecification
BACKINGSTORE_DIR
Modifier | Constructor and Description |
---|---|
protected |
TaskDecompositionRepository() |
protected |
TaskDecompositionRepository(java.lang.String baseDir) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
add(java.lang.String name,
java.lang.String description,
YAWLServiceGateway gateway)
Adds a task decomposition to the repository
|
protected void |
addXsiAttribute(XNode decompositionNode) |
YAWLServiceGateway |
get(java.lang.String name)
Gets a task decomposition from the repository
|
java.util.List<RepoDescriptor> |
getDescriptors()
Gets a sorted list of descriptors for all stored task decompositions
|
YAWLServiceGateway |
remove(java.lang.String name)
Removes a task decomposition from the repository
|
protected java.lang.String |
toXML(YDecomposition decomposition) |
createShellSpecification, getValues, parse, unmarshalDecomposition
addRecord, anyAreNull, getRecord, hasRecord, removeRecord, save
protected TaskDecompositionRepository()
protected TaskDecompositionRepository(java.lang.String baseDir)
public java.lang.String add(java.lang.String name, java.lang.String description, YAWLServiceGateway gateway)
add
in class DecompositionRepoMap
name
- a reference name for the task decompositiondescription
- a description of itgateway
- the task decomposition to addpublic YAWLServiceGateway get(java.lang.String name) throws YSyntaxException
get
in class DecompositionRepoMap
name
- a reference name for the task decompositionYSyntaxException
public YAWLServiceGateway remove(java.lang.String name)
remove
in class DecompositionRepoMap
name
- a reference name for the task decompositionpublic java.util.List<RepoDescriptor> getDescriptors()
getDescriptors
in class DecompositionRepoMap
protected java.lang.String toXML(YDecomposition decomposition)
toXML
in class DecompositionRepoMap
protected void addXsiAttribute(XNode decompositionNode)
addXsiAttribute
in class DecompositionRepoMap