Commit e8ec618e authored by Alessio Carenini's avatar Alessio Carenini
Browse files

Added log server attribute to choreography

parent 1779085d
...@@ -59,6 +59,8 @@ public class Choreography { ...@@ -59,6 +59,8 @@ public class Choreography {
private DeploymentLocation location; private DeploymentLocation location;
private String logServerUrl;
public Choreography() { public Choreography() {
} }
...@@ -104,6 +106,8 @@ public class Choreography { ...@@ -104,6 +106,8 @@ public class Choreography {
this.location = location; this.location = location;
} }
public String getXML() throws JAXBException, XMLStreamException { public String getXML() throws JAXBException, XMLStreamException {
Marshaller marshaller = CTX.createMarshaller(); Marshaller marshaller = CTX.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
...@@ -117,4 +121,13 @@ public class Choreography { ...@@ -117,4 +121,13 @@ public class Choreography {
return CTX.createUnmarshaller(). return CTX.createUnmarshaller().
unmarshal(XML_INPUT_FACTORY.createXMLStreamReader(is), Choreography.class).getValue(); unmarshal(XML_INPUT_FACTORY.createXMLStreamReader(is), Choreography.class).getValue();
} }
public String getLogServerUrl() {
return logServerUrl;
}
public void setLogServerUrl(String logServerUrl) {
this.logServerUrl = logServerUrl;
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment