Class ScriptInfo

java.lang.Object
org.jenkinsci.plugins.scriptler.share.ScriptInfo
All Implemented Interfaces:
NamedResource

public class ScriptInfo extends Object implements NamedResource
  • Field Details

  • Constructor Details

    • ScriptInfo

      public ScriptInfo()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface NamedResource
    • getName

      public String getName()
      Specified by:
      getName in interface NamedResource
    • getNonNullName

      public String getNonNullName()
    • addAuthor

      public void addAuthor(ScriptInfo.Author author)
    • getParameters

      public List<String> getParameters()
    • setParameters

      public void setParameters(List<String> parameters)
    • setAuthors

      public void setAuthors(List<ScriptInfo.Author> authors)
    • getAuthors

      public List<ScriptInfo.Author> getAuthors()
    • toString

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

      public String getScript()
      Returns:
      the script
    • setScript

      public void setScript(String script)
      Parameters:
      script - the script to set
    • getComment

      public String getComment()
      Returns:
      the comment
    • setComment

      public void setComment(String comment)
      Parameters:
      comment - the comment to set
    • getCore

      public String getCore()
      Returns:
      the core
    • setCore

      public void setCore(String core)
      Parameters:
      core - the core to set
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set