Class BambooSpecsGenerator.Comment

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties
    Enclosing class:
    BambooSpecsGenerator

    @Immutable
    public static class BambooSpecsGenerator.Comment
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      Comment​(java.lang.String comment)  
      Comment​(java.lang.String comment, boolean newLineBefore, boolean newLineAfter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      void validate()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Comment

        public Comment​(java.lang.String comment)
      • Comment

        public Comment​(java.lang.String comment,
                       boolean newLineBefore,
                       boolean newLineAfter)
    • Method Detail

      • toString

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object