Class BambooSpecsGenerator.Comment

java.lang.Object
com.atlassian.bamboo.specs.codegen.BambooSpecsGenerator.Comment
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties
Enclosing class:
BambooSpecsGenerator

@Immutable public static class BambooSpecsGenerator.Comment extends Object implements com.atlassian.bamboo.specs.api.model.EntityProperties
Represents a comment in Bamboo Specs. Note: Only to be used with BambooSpecsGenerator.addEntity(String, EntityProperties)
  • Constructor Details

    • Comment

      public Comment(String comment)
    • Comment

      public Comment(String comment, boolean newLineBefore, boolean newLineAfter)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate()
      Specified by:
      validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object