diff --git a/src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/AssignMediaToTrayMessageService.java b/src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/AssignMediaToTrayMessageService.java new file mode 100644 index 0000000..a279b1f --- /dev/null +++ b/src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/AssignMediaToTrayMessageService.java @@ -0,0 +1,27 @@ +package org.cip4.tools.alces.service.jmfmessage.cpp; + +import org.cip4.jdflib.auto.JDFAutoStatusQuParams; +import org.cip4.tools.alces.service.jmfmessage.IntegrationUtils; +import org.cip4.tools.alces.service.jmfmessage.JmfMessageService; +import org.springframework.stereotype.Service; + +@Service +public class AssignMediaToTrayMessageService implements JmfMessageService { + + @Override + public String getMessageType() { + return "oce:AssignMediaToTray"; + } + + @Override + public String getButtonTextExtension() { + return ""; + } + + @Override + public String createJmfMessage(IntegrationUtils integrationUtils) { + return integrationUtils.getJmfBuilder() + .buildStatus(JDFAutoStatusQuParams.EnumDeviceDetails.Details, JDFAutoStatusQuParams.EnumJobDetails.Brief) + .toXML(); + } +} diff --git a/src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/CppTest.java b/src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/CppTest.java deleted file mode 100644 index 3667449..0000000 --- a/src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/CppTest.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.cip4.tools.alces.service.jmfmessage.cpp; - -public class CppTest { -}