public class XJdfBuilder extends AbstractNodeBuilder<XJDF>
| Constructor and Description |
|---|
XJdfBuilder()
Default constructor.
|
XJdfBuilder(String jobID)
Custom Constructor.
|
XJdfBuilder(String jobID,
String category)
Custom Constructor.
|
XJdfBuilder(String jobID,
String category,
String descriptiveName)
Custom Constructor.
|
XJdfBuilder(String jobID,
String category,
String descriptiveName,
String relatedJobID)
Custom Constructor.
|
XJdfBuilder(XJDF xjdf)
Custom Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAudit(Audit audit)
Append Audit node to XJDF Document.
|
void |
addComment(String comment)
Append Comment to XJDF Document.
|
void |
addGeneralID(GeneralID generalId)
Append GeneralID node to XJDF Document.
|
void |
addParameter(List<ParameterType> parameterTypes)
Append Parameter list to xJdf Document.
|
void |
addParameter(List<ParameterType> parameterTypes,
String processUsage)
Append Parameter List to xJdf Document.
|
void |
addParameter(Parameter parameter)
Append Parameter node to xJdf Document.
|
void |
addParameter(Parameter parameter,
String processUsage)
Append Parameter node to xJdf Document.
|
void |
addParameter(ParameterType parameterType)
Append Parameter node to xJdf Document.
|
void |
addParameter(ParameterType parameterType,
Part part)
Append Parameter node to xJdf Document.
|
void |
addParameter(ParameterType parameterType,
Part part,
String processUsage)
Append Parameter node to xJdf Document.
|
void |
addParameter(ParameterType parameterType,
String processUsage)
Append Parameter node to xJdf Document.
|
void |
addParameterSet(ParameterSet parameterSet)
Add a parameterSet to the underlying xjdf.
|
void |
addProduct(Product product)
Append Product node to xJdf Document.
|
void |
addResource(Resource resource,
String processUsage)
Append Resource node to xJdf Document.
|
Resource |
addResource(ResourceType resourceType,
Part part)
Append Resource node to xJdf Document.
|
Resource |
addResource(ResourceType resourceType,
Part part,
String processUsage)
Append Resource node to xJdf Document.
|
void |
addResourceSet(ResourceSet resourceSet)
Add a resourceSet to the underlying xjdf.
|
XJDF |
getXJdf()
Getter for xJdf attribute.
|
build, getNodepublic XJdfBuilder()
public XJdfBuilder(String jobID)
jobID - Value of attribute JobID.public XJdfBuilder(String jobID, String category)
jobID - Value of attribute JobID.category - Value of attribute Category.public XJdfBuilder(String jobID, String category, String descriptiveName)
jobID - Value of attribute JobID.category - Value of attribute Category.descriptiveName - Value of attribute DescriptiveName.public XJdfBuilder(String jobID, String category, String descriptiveName, String relatedJobID)
jobID - Value of attribute JobID.category - Value of attribute Category.descriptiveName - Value of attribute DescriptiveName.relatedJobID - Value of attribute RelatedJobID.public XJdfBuilder(XJDF xjdf)
xjdf - XJDF Document for modify.public XJDF getXJdf()
public final void addComment(String comment)
comment - Comment to append to.public final void addAudit(Audit audit)
audit - Audit object to append.public final void addGeneralID(GeneralID generalId)
generalId - GeneralID object to append.public final void addProduct(Product product)
product - Product object to append.public final void addParameter(ParameterType parameterType)
parameterType - Parameter object to append.public final void addParameter(ParameterType parameterType, String processUsage)
parameterType - Parameter object to append.processUsage - ProcessUsage of parameter.public final void addParameter(List<ParameterType> parameterTypes)
parameterTypes - Parameter objects to append.public final void addParameter(List<ParameterType> parameterTypes, String processUsage)
parameterTypes - Parameter objects to append.processUsage - ProcessUsage of parameter.public final void addParameter(ParameterType parameterType, Part part)
parameterType - Parameter object to append.part - Partitioning definitions.public void addParameter(ParameterType parameterType, Part part, String processUsage)
parameterType - Parameter object to append.part - Partitioning definitions.processUsage - ProcessUsage of parameter.public void addParameter(Parameter parameter)
parameter - Parameter node to append to.public final void addParameter(Parameter parameter, String processUsage)
parameter - Parameter node to append to.processUsage - ProcessUsage of parameter.public final void addParameterSet(ParameterSet parameterSet)
parameterSet - ParameterSet to add to the xjdf.public final Resource addResource(ResourceType resourceType, Part part)
resourceType - Resource object to append.part - Partitioning definitions.public final Resource addResource(ResourceType resourceType, Part part, String processUsage)
resourceType - Resource object to append.part - Partitioning definitions.processUsage - ProcessUsage of resource.public void addResource(Resource resource, String processUsage)
resource - Resource node to append to.processUsage - ProcessUsage of resource.public final void addResourceSet(ResourceSet resourceSet)
resourceSet - ParameterSet to add to the xjdf.Copyright © 2016. All rights reserved.