|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.jmf.JMFBuilder
public class JMFBuilder
factory for creating JMF messages
| Constructor Summary | |
|---|---|
JMFBuilder()
|
|
| Method Summary | |
|---|---|
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 |
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 |
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 |
setSenderID(String senderID)
set the SenderId used for this builder |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JMFBuilder()
| Method Detail |
|---|
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 suspend
public JDFJMF buildHoldQueueEntry(String queueEntryId)
queueEntryId - queue entry ID of the queue to hold
public JDFJMF buildResumeQueueEntry(String queueEntryId)
queueEntryId - queue entry ID of the queue to resume
public JDFJMF buildAbortQueueEntry(String queueEntryId)
queueEntryId - queue entry ID of the queue to abort
public JDFJMF buildReturnQueueEntry(String queueEntryId)
queueEntryId - queue entry ID of the queue to abort
public JDFJMF createJMF(JDFMessage.EnumFamily family,
JDFMessage.EnumType typ)
family - typ -
public JDFJMF buildRemoveQueueEntry(String queueEntryId)
queueEntryId - queue entry ID of the queue to remove
public JDFJMF buildStatus(JDFAutoStatusQuParams.EnumDeviceDetails deviceDetails,
JDFAutoStatusQuParams.EnumJobDetails jobDetails)
deviceDetails - the device detailsjobDetails - the status details
public JDFJMF buildResourceQuery(boolean bExact)
bExact - if true
public JDFJMF buildResourceSignal(boolean bExact,
JDFResourceLink resLink)
bExact - if trueresLink -
public JDFJMF buildStatusSignal(JDFAutoStatusQuParams.EnumDeviceDetails deviceDetails,
JDFAutoStatusQuParams.EnumJobDetails jobDetails)
deviceDetails - the device detailsjobDetails - the status details
public 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. Media
public JDFJMF buildMilestone(String milestoneType,
String jobID)
milestoneType - the milestone typejobID - the jobID
public JDFJMF buildKnownSubscriptionsQuery(String url,
String slaveQEID)
url - the url of the subscription - typically the sender of the messageslaveQEID - the queuentryID at the slave
public JDFJMF buildSubmissionMethodsQuery()
public JDFJMF buildSubmitQueueEntry(String returnUrl)
returnUrl - the url of the jdf to send back to
public 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=null
public 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 resubmit
public 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 subscription
public 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 JDFJMFpublic JMFBuilder clone()
clone in class ObjectObject.clone()public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||