org.jenkinsci.plugins.scriptler.share
Class ScriptInfo

java.lang.Object
  extended by org.jenkinsci.plugins.scriptler.share.ScriptInfo
All Implemented Interfaces:
NamedResource
Direct Known Subclasses:
CatalogEntry

public class ScriptInfo
extends Object
implements NamedResource


Nested Class Summary
 class ScriptInfo.Author
           
 class ScriptInfo.Parameter
           
 
Field Summary
protected  List<ScriptInfo.Author> authors
           
protected  String comment
           
protected  String core
           
protected  String name
           
protected  List<String> parameters
           
protected  String script
           
 
Constructor Summary
ScriptInfo()
           
 
Method Summary
 void addAuthor(ScriptInfo.Author author)
           
 List<ScriptInfo.Author> getAuthors()
           
 String getComment()
           
 String getCore()
           
 String getId()
           
 String getName()
           
 List<String> getParameters()
           
 String getScript()
           
 void setAuthors(List<ScriptInfo.Author> authors)
           
 void setComment(String comment)
           
 void setCore(String core)
           
 void setName(String name)
           
 void setParameters(List<String> parameters)
           
 void setScript(String script)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

script

protected String script

comment

protected String comment

core

protected String core

name

protected String name

authors

protected List<ScriptInfo.Author> authors

parameters

protected List<String> parameters
Constructor Detail

ScriptInfo

public ScriptInfo()
Method Detail

getId

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

getName

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

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


Copyright © 2010-2012. All Rights Reserved.