Interface Script

All Known Implementing Classes:
ScriptImpl

public interface Script
A generic interface that should be used for objects holding script data in Bamboo (inline scripts/instance shutdown or startup scripts etc.).
  • 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.
  • Method Details

    • getBody

      @NotNull @NotNull String getBody()
      The accessor for the script body.
      Returns:
      the script body
    • setBody

      void setBody(@NotNull @NotNull String body)
      The mutator for the script body.
      Parameters:
      body - the script body.