Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHOReVOLUTION
choreospec
Commits
e8ec618e
Commit
e8ec618e
authored
Jan 23, 2017
by
Alessio Carenini
Browse files
Added log server attribute to choreography
parent
1779085d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/eu/chorevolution/datamodel/Choreography.java
View file @
e8ec618e
...
@@ -58,6 +58,8 @@ public class Choreography {
...
@@ -58,6 +58,8 @@ public class Choreography {
private
StatusType
status
;
private
StatusType
status
;
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
;
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment