Class ScriptImpl

java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.core.ScriptImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, Script, Cloneable

@Entity public class ScriptImpl extends BambooEntityObject implements Script
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    The accessor for the script body.
    void
    setBody(@NotNull String body)
    The mutator for the script body.

    Methods inherited from class com.atlassian.core.bean.EntityObject

    clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider

    getId

    Methods inherited from interface com.atlassian.bamboo.core.BambooObject

    setId
  • Constructor Details

    • ScriptImpl

      public ScriptImpl()
    • ScriptImpl

      public ScriptImpl(String body)
  • Method Details

    • getBody

      @NotNull public @NotNull String getBody()
      Description copied from interface: Script
      The accessor for the script body.
      Specified by:
      getBody in interface Script
      Returns:
      the script body
    • setBody

      public void setBody(@NotNull @NotNull String body)
      Description copied from interface: Script
      The mutator for the script body.
      Specified by:
      setBody in interface Script
      Parameters:
      body - the script body.