Class PostBuildItem
- java.lang.Object
-
- org.jenkinsci.plugins.postbuildscript.model.PostBuildItem
-
- Direct Known Subclasses:
PostBuildStep
,Script
,ScriptFile
public class PostBuildItem extends Object
-
-
Constructor Summary
Constructors Constructor Description PostBuildItem(Collection<String> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResults(Collection<String> results)
ExecuteOn
getExecuteOn()
Set<String>
getResults()
Role
getRole()
boolean
hasResult()
Object
readResolve()
void
setExecuteOn(ExecuteOn executeOn)
void
setRole(Role role)
boolean
shouldBeExecuted(String result)
boolean
shouldRunOnMaster()
boolean
shouldRunOnSlave()
-
-
-
Constructor Detail
-
PostBuildItem
public PostBuildItem(@Nullable Collection<String> results)
-
-
Method Detail
-
shouldBeExecuted
public boolean shouldBeExecuted(@Nullable String result)
-
hasResult
public boolean hasResult()
-
addResults
public void addResults(@NonNull Collection<String> results)
-
setRole
@DataBoundSetter public void setRole(Role role)
-
shouldRunOnMaster
public boolean shouldRunOnMaster()
-
shouldRunOnSlave
public boolean shouldRunOnSlave()
-
getRole
public Role getRole()
-
getExecuteOn
public ExecuteOn getExecuteOn()
-
setExecuteOn
@DataBoundSetter public void setExecuteOn(ExecuteOn executeOn)
-
readResolve
public Object readResolve()
-
-