blob: 1a53df70d3f7ea0b7f282580a545d53daee0b4b0 [file] [log] [blame]
/*
*/
package org.taverna.server.master.rest;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* Description of what sort of event listener to create and attach to a workflow
* run. Bound via JAXB.
*
* @author Donal Fellows
*/
@XmlRootElement(name = "listenerDefinition")
@XmlType(name="ListenerDefinition")
public class ListenerDefinition {
/**
* The type of event listener to create.
*/
@XmlAttribute
public String type;
/**
* How the event listener should be configured.
*/
@XmlValue
public String configuration;
}