Class ScriptInfo
java.lang.Object
org.jenkinsci.plugins.scriptler.share.ScriptInfo
- All Implemented Interfaces:
NamedResource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<ScriptInfo.Author>
protected String
static final Comparator<ScriptInfo>
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthor
(ScriptInfo.Author author) getCore()
getId()
getName()
void
setAuthors
(List<ScriptInfo.Author> authors) void
setComment
(String comment) void
void
void
setParameters
(List<String> parameters) void
toString()
-
Field Details
-
script
-
comment
-
core
-
name
-
authors
-
parameters
-
COMPARATOR_BY_NAME
-
-
Constructor Details
-
ScriptInfo
public ScriptInfo()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceNamedResource
-
getName
- Specified by:
getName
in interfaceNamedResource
-
getNonNullName
-
getParameters
-
setParameters
-
setAuthors
-
getAuthors
-
toString
-
getScript
- Returns:
- the script
-
setScript
- Parameters:
script
- the script to set
-
getComment
- Returns:
- the comment
-
setComment
- Parameters:
comment
- the comment to set
-
getCore
- Returns:
- the core
-
setCore
- Parameters:
core
- the core to set
-
setName
- Parameters:
name
- the name to set
-