Class ScriptInfo
java.lang.Object
org.jenkinsci.plugins.scriptler.share.ScriptInfo
- All Implemented Interfaces:
NamedResource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ScriptInfo.Author> protected Stringstatic final Comparator<ScriptInfo> protected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthor(ScriptInfo.Author author) getCore()getId()getName()voidsetAuthors(List<ScriptInfo.Author> authors) voidsetComment(String comment) voidvoidvoidsetParameters(List<String> parameters) voidtoString()
-
Field Details
-
script
-
comment
-
core
-
name
-
authors
-
parameters
-
COMPARATOR_BY_NAME
-
-
Constructor Details
-
ScriptInfo
public ScriptInfo()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceNamedResource
-
getName
- Specified by:
getNamein 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
-