|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.controllers.RememberState
jetbrains.buildServer.controllers.admin.projects.BuildRunnerBean
public class BuildRunnerBean
Holds build runner properties when a build configuration is being edited on the web
| Nested Class Summary | |
|---|---|
static class |
BuildRunnerBean.RunTypeInfo
Represents information about a build runner in the form suitable for JSP |
| Constructor Summary | |
|---|---|
BuildRunnerBean(SBuildRunnerDescriptor runnerDescriptor,
RunTypeRegistry runTypeRegistry,
boolean inherited,
boolean enabled)
Constructor for existing build runner |
|
BuildRunnerBean(java.lang.String id,
java.lang.String runnerType,
RunTypeRegistry runTypeRegistry)
Constructor for new build runner |
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getAvailableRunnerExtensionUrls()
|
java.util.List<BuildRunnerBean.RunTypeInfo> |
getAvailableRunTypes()
Returns list of available build runners |
java.lang.String |
getBuildStepName()
Returns name of the build runner step |
java.lang.String |
getId()
Returns unique identifier of this build runner bean |
BasePropertiesBean |
getPropertiesBean()
Returns bean containing properties of the currently selected build runner |
java.lang.String |
getRunnerType()
Returns type of the currently selected runner |
RunType |
getRunType()
|
RunTypeWithExtensions |
getRunTypeWithExtensions()
|
java.lang.String |
getShortDescription()
|
boolean |
isEnabled()
|
boolean |
isInherited()
|
boolean |
isNewRunner()
Returns true if this bean represents new build runner (not yet created). |
boolean |
isRunnerTypeSelected()
Returns true if type of the runner is selected |
boolean |
isStateModified()
Returns true if state of this bean is modified |
void |
setBuildStepName(java.lang.String buildStepName)
Sets name of the build runner step |
void |
setRunnerType(java.lang.String runnerType)
Selects new runner |
| Methods inherited from class jetbrains.buildServer.controllers.RememberState |
|---|
findField, forgetState, isFieldModified, rememberState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildRunnerBean(@NotNull
java.lang.String id,
@NotNull
java.lang.String runnerType,
@NotNull
RunTypeRegistry runTypeRegistry)
runnerType - type of the runnerrunTypeRegistry - build runner registry
public BuildRunnerBean(@NotNull
SBuildRunnerDescriptor runnerDescriptor,
@NotNull
RunTypeRegistry runTypeRegistry,
boolean inherited,
boolean enabled)
runTypeRegistry - build runner registryenabled - | Method Detail |
|---|
@NotNull public java.lang.String getId()
public boolean isNewRunner()
public java.lang.String getRunnerType()
public boolean isRunnerTypeSelected()
public java.lang.String getBuildStepName()
public void setBuildStepName(java.lang.String buildStepName)
public void setRunnerType(java.lang.String runnerType)
runnerType - new runner typepublic java.util.List<BuildRunnerBean.RunTypeInfo> getAvailableRunTypes()
@NotNull public RunType getRunType()
@Nullable public RunTypeWithExtensions getRunTypeWithExtensions()
@NotNull public java.lang.String getShortDescription()
public boolean isInherited()
public boolean isEnabled()
public BasePropertiesBean getPropertiesBean()
@NotNull public java.util.Collection<java.lang.String> getAvailableRunnerExtensionUrls()
public boolean isStateModified()
isStateModified in interface StatefulObjectisStateModified in class RememberState
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||