-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add oce AssignMediaToTrayMessageService
- Loading branch information
Showing
2 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...n/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/AssignMediaToTrayMessageService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
src/main/groovy/org/cip4/tools/alces/service/jmfmessage/cpp/CppTest.java
This file was deleted.
Oops, something went wrong.