A wrapper for an Execution Profile in XML text to be a Groovy class.
Constructor and description |
---|
ExecutionProfile
(GlobalVariableEntities entities) sole constructor |
Type Params | Return Type | Name and description |
---|---|---|
|
static GlobalVariableEntities |
build(org.w3c.dom.Document xmlDocument) |
|
boolean |
contains(java.lang.String globalVariableName) returns true if a GlobalVariable.XXX is contained in this Profile, returns false if not found |
|
GlobalVariableEntities |
getContent() returns the content of Profile as an instance of GlobalVariableEntities |
|
static ExecutionProfile |
newInstance(java.nio.file.Path xml) |
|
static ExecutionProfile |
newInstance(java.io.File xmlFile) |
|
static ExecutionProfile |
newInstance(java.lang.String xmlText) |
|
void |
save(java.io.File file) write the XML content into the file specified |
|
void |
save(java.io.Writer writer) write the XML content into the writer. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
sole constructor
returns true if a GlobalVariable.XXX is contained in this Profile, returns false if not found
returns the content of Profile as an instance of GlobalVariableEntities
write the XML content into the file specified
write the XML content into the writer. This is useful to write the content into a String for logging messages.