Constructor and Description |
---|
JMFBuilder() |
Modifier and Type | Method and Description |
---|---|
JDFJMF |
buildAbortQueueEntry(String queueEntryId)
build a JMF AbortQueueEntry command
|
JDFJMF |
buildHoldQueueEntry(String queueEntryId)
build a JMF HoldQueueEntry command
|
JDFJMF |
buildKnownDevicesQuery(JDFAutoDeviceFilter.EnumDeviceDetails details)
build a JMF Knowndevices query
|
JDFJMF |
buildKnownMessagesQuery()
build a JMF Knownmessages query
|
JDFJMF |
buildKnownSubscriptionsQuery(String url,
String slaveQEID)
build a JMF KnownSubscriptions query
|
JDFJMF |
buildMilestone(String milestoneType,
String jobID)
build a JMF Milestone querysignal
|
JDFJMF |
buildNewJDFCommand()
build a JMFNewJDF query
|
JDFJMF |
buildNewJDFQuery(String jobID,
String jobPartID)
build a JMFNewJDF query
|
JDFJMF |
buildNotificationSubscription(String subscriberURL)
build a JMF Notification subscription
|
JDFJMF |
buildQueueStatus()
build a JMF QueueStatus query
|
JDFJMF |
buildQueueStatusSubscription(String subscriberURL)
build a JMF QueueStatus query
|
JDFJMF |
buildRemoveQueueEntry(String queueEntryId)
build a JMF RemoveQueueEntry command
|
JDFJMF |
buildRequestQueueEntry(String queueURL,
NodeIdentifier nid)
build a JMF RequestQueueEntry command
default: JMFFactory.buildRequestQueueEntry(theQueueURL,null) |
JDFJMF |
buildResourceCatalogQuery(String resType)
build a JMF Resource query
|
JDFJMF |
buildResourceQuery(boolean bExact)
build a JMF Status query
|
JDFJMF |
buildResourceSignal(boolean bExact,
JDFResourceLink resLink)
build a JMF Status query
|
JDFJMF |
buildResourceSubscription(String subscriberURL,
double repeatTime,
int repeatStep,
String queueEntryID)
build a JMF Resource subscription
|
JDFJMF |
buildResubmitQueueEntry(String qeID,
String url)
build a ResubmitQueueEntry message
|
JDFJMF |
buildResumeQueueEntry(String queueEntryId)
build a JMF ResumeQueueEntry command
|
JDFJMF |
buildReturnQueueEntry(String queueEntryId)
build a JMF AbortQueueEntry command
|
JDFJMF |
buildShutdownCommand(JDFAutoShutDownCmdParams.EnumShutDownType typ)
build a Shutdown message
|
JDFJMF |
buildStatus(JDFAutoStatusQuParams.EnumDeviceDetails deviceDetails,
JDFAutoStatusQuParams.EnumJobDetails jobDetails)
build a JMF Status query
|
JDFJMF |
buildStatusSignal(JDFAutoStatusQuParams.EnumDeviceDetails deviceDetails,
JDFAutoStatusQuParams.EnumJobDetails jobDetails)
build a JMF Status query
|
JDFJMF |
buildStatusSubscription(String subscriberURL,
double repeatTime,
int repeatStep,
String queueEntryID)
build a JMF Status subscription
|
JDFJMF |
buildStopPersistentChannel(String channelID,
String qeID,
String url)
build a stopPersistentChannelParams message
|
JDFJMF |
buildSubmissionMethodsQuery()
build a JMF Knownmessages query
|
JDFJMF |
buildSubmitQueueEntry(String returnUrl)
build a ResubmitQueueEntry message
|
JDFJMF |
buildSubmitQueueEntry(String returnUrl,
String submitURL)
build a ResubmitQueueEntry message
|
JDFJMF |
buildSuspendQueueEntry(String queueEntryId)
build a JMF SuspendQueueEntry command
|
JMFBuilder |
clone() |
JDFJMF |
createJMF(JDFMessage.EnumFamily family,
JDFMessage.EnumType typ)
create a JMF that has all builder specific details filled in
|
JDFJMF[] |
createSubscriptions(String url,
String queueEntryID,
double repeatTime,
int repeatStep)
create a set of default subscriptions
|
String |
getAcknowledgeURL() |
String |
getAgentName() |
String |
getAgentVersion() |
String |
getSenderID()
get the SenderId used for this builder
|
JDFJMF |
newJMF(JDFMessage.EnumFamily family,
String type)
create a new jmf message with some heuristic parameters
|
void |
setAcknowledgeURL(String acknowledgeURL) |
void |
setAgentName(String agentName) |
void |
setAgentVersion(String agentVersion) |
void |
setSenderID(String senderID)
set the SenderId used for this builder
|
String |
toString() |
public String getAcknowledgeURL()
public void setAcknowledgeURL(String acknowledgeURL)
acknowledgeURL
- the acknowledgeURL to setpublic JDFJMF buildSuspendQueueEntry(String queueEntryId)
queueEntryId
- queue entry ID of the queue to suspendpublic JDFJMF buildHoldQueueEntry(String queueEntryId)
queueEntryId
- queue entry ID of the queue to holdpublic JDFJMF buildResumeQueueEntry(String queueEntryId)
queueEntryId
- queue entry ID of the queue to resumepublic JDFJMF buildAbortQueueEntry(String queueEntryId)
queueEntryId
- queue entry ID of the queue to abortpublic JDFJMF buildReturnQueueEntry(String queueEntryId)
queueEntryId
- queue entry ID of the queue to abortpublic JDFJMF createJMF(JDFMessage.EnumFamily family, JDFMessage.EnumType typ)
family
- typ
- public JDFJMF buildRemoveQueueEntry(String queueEntryId)
queueEntryId
- queue entry ID of the queue to removepublic JDFJMF buildStatus(JDFAutoStatusQuParams.EnumDeviceDetails deviceDetails, JDFAutoStatusQuParams.EnumJobDetails jobDetails)
deviceDetails
- the device detailsjobDetails
- the status detailspublic JDFJMF buildResourceQuery(boolean bExact)
bExact
- if truepublic JDFJMF buildResourceSignal(boolean bExact, JDFResourceLink resLink)
bExact
- if trueresLink
- public JDFJMF buildStatusSignal(JDFAutoStatusQuParams.EnumDeviceDetails deviceDetails, JDFAutoStatusQuParams.EnumJobDetails jobDetails)
deviceDetails
- the device detailsjobDetails
- the status detailspublic JDFJMF buildStatusSubscription(String subscriberURL, double repeatTime, int repeatStep, String queueEntryID)
subscriberURL
- repeatTime
- repeatStep
- queueEntryID
- public JDFJMF buildResourceSubscription(String subscriberURL, double repeatTime, int repeatStep, String queueEntryID)
subscriberURL
- repeatTime
- repeatStep
- queueEntryID
- public JDFJMF buildKnownMessagesQuery()
public JDFJMF buildResourceCatalogQuery(String resType)
resType
- type of resource to query, e.g. Mediapublic JDFJMF buildMilestone(String milestoneType, String jobID)
milestoneType
- the milestone typejobID
- the jobIDpublic JDFJMF buildKnownSubscriptionsQuery(String url, String slaveQEID)
url
- the url of the subscription - typically the sender of the messageslaveQEID
- the queuentryID at the slavepublic JDFJMF buildSubmissionMethodsQuery()
public JDFJMF buildSubmitQueueEntry(String returnUrl)
returnUrl
- the url of the jdf to send back topublic JDFJMF buildSubmitQueueEntry(String returnUrl, String submitURL)
returnUrl
- the url of the jdf to send back topublic JDFJMF buildKnownDevicesQuery(JDFAutoDeviceFilter.EnumDeviceDetails details)
details
- public JDFJMF buildNewJDFQuery(String jobID, String jobPartID)
jobID
- jobPartID
- public JDFJMF buildNewJDFCommand()
public JDFJMF buildNotificationSubscription(String subscriberURL)
subscriberURL
- public JDFJMF buildQueueStatus()
public JDFJMF buildQueueStatusSubscription(String subscriberURL)
subscriberURL
- public JDFJMF buildRequestQueueEntry(String queueURL, NodeIdentifier nid)
queueURL
- the queue URL of the device sending the command ("where do you want your SubmitQE's delivered to?")nid
- the nodeidentifier of the requested qe, default=nullpublic JDFJMF[] createSubscriptions(String url, String queueEntryID, double repeatTime, int repeatStep)
url
- queueEntryID
- repeatTime
- repeatStep
- public JDFJMF buildResubmitQueueEntry(String qeID, String url)
qeID
- url
- the url of the jdf to resubmitpublic JDFJMF buildShutdownCommand(JDFAutoShutDownCmdParams.EnumShutDownType typ)
typ
- hard or soft shutdown?public JDFJMF buildStopPersistentChannel(String channelID, String qeID, String url)
channelID
- qeID
- url
- the url of the subscriptionpublic JDFJMF newJMF(JDFMessage.EnumFamily family, String type)
family
- type
- public String getSenderID()
public void setSenderID(String senderID)
senderID
- the new default senderID, if null use the static default from JDFJMF
public JMFBuilder clone()
clone
in class Object
Object.clone()
public String toString()
toString
in class Object
Object.toString()
public String getAgentName()
public void setAgentName(String agentName)
agentName
- public String getAgentVersion()
public void setAgentVersion(String agentVersion)
agentVersion
- Copyright © 2018. All rights reserved.