@Test public void should_get_empty_contexts_as_default() { Changeset changeset = new Changeset(); assertThat(changeset.getContexts()).isEmpty(); }
@XmlAttribute(name = "contexts", required = false) String getContexts() { return String.join(",", executionsContexts); }
Changeset { @XmlAttribute(name = "contexts", required = false) String getContexts() { return String.join(",", executionsContexts); } }
Changeset { @XmlAttribute(name = "contexts", required = false) String getContexts() { return String.join(",", executionsContexts); }  }
Changeset { @XmlAttribute(name = "contexts", required = false) String getContexts() { return String.join(",", executionsContexts); }  @XmlAttribute(name = "id", required = true) String getId(); void setId(String id); @XmlAttribute(name = "author", required = true) String getAuthor(); void setAuthor(String author); @XmlElement(name = "query", required = true) Collection<String> getQueries(); void setQueries(Collection<String> queries); @XmlTransient String getChecksum(); void setChecksum(String checksum); @XmlTransient Collection<String> getExecutionsContexts(); void setContexts(String executionsContexts); @XmlAttribute(name = "run-on-change", required = false) boolean isRunOnChange(); void setRunOnChange(boolean runOnChange); @XmlAttribute(name = "run-always", required = false) boolean isRunAlways(); void setRunAlways(boolean runAlways); @XmlElement(name = "precondition", required = false) Precondition getPrecondition(); void setPrecondition(Precondition precondition); @XmlElement(name = "postcondition", required = false) Postcondition getPostcondition(); void setPostcondition(Postcondition postcondition); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
Changeset { @XmlAttribute(name = "contexts", required = false) String getContexts() { return String.join(",", executionsContexts); }  @XmlAttribute(name = "id", required = true) String getId(); void setId(String id); @XmlAttribute(name = "author", required = true) String getAuthor(); void setAuthor(String author); @XmlElement(name = "query", required = true) Collection<String> getQueries(); void setQueries(Collection<String> queries); @XmlTransient String getChecksum(); void setChecksum(String checksum); @XmlTransient Collection<String> getExecutionsContexts(); void setContexts(String executionsContexts); @XmlAttribute(name = "run-on-change", required = false) boolean isRunOnChange(); void setRunOnChange(boolean runOnChange); @XmlAttribute(name = "run-always", required = false) boolean isRunAlways(); void setRunAlways(boolean runAlways); @XmlElement(name = "precondition", required = false) Precondition getPrecondition(); void setPrecondition(Precondition precondition); @XmlElement(name = "postcondition", required = false) Postcondition getPostcondition(); void setPostcondition(Postcondition postcondition); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }