org.jenkinsci.plugins.scriptler.share
Class ScriptInfo
java.lang.Object
org.jenkinsci.plugins.scriptler.share.ScriptInfo
- All Implemented Interfaces:
- NamedResource
- Direct Known Subclasses:
- CatalogEntry
public class ScriptInfo
- extends Object
- implements NamedResource
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
ScriptInfo
public ScriptInfo()
getId
public String getId()
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.