Skip to content

Commit

Permalink
add oce AssignMediaToTrayMessageService
Browse files Browse the repository at this point in the history
  • Loading branch information
simaadri committed May 10, 2022
1 parent 45db346 commit e144cde
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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();
}
}

This file was deleted.

0 comments on commit e144cde

Please sign in to comment.