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

Added log server attribute to choreography

parent 1779085d
......@@ -58,6 +58,8 @@ public class Choreography {
private StatusType status;
private DeploymentLocation location;
private String logServerUrl;
public Choreography() {
}
......@@ -104,6 +106,8 @@ public class Choreography {
this.location = location;
}
public String getXML() throws JAXBException, XMLStreamException {
Marshaller marshaller = CTX.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
......@@ -117,4 +121,13 @@ public class Choreography {
return CTX.createUnmarshaller().
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