au.com.centrumsystems.hudson.plugin.buildpipeline
Class ProjectForm
java.lang.Object
au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm
public class ProjectForm
- extends Object
- Author:
- Centrum Systems
Representation of a set of projects
ProjectForm
public ProjectForm(String name)
- Parameters:
name - project name
ProjectForm
public ProjectForm(hudson.model.AbstractProject<?,?> project)
- Parameters:
project - project
getName
public String getName()
getHealth
public String getHealth()
getResult
public String getResult()
getUrl
public String getUrl()
getLastSuccessfulBuildNumber
public String getLastSuccessfulBuildNumber()
getDependencies
public List<ProjectForm> getDependencies()
getDisplayTrigger
public Boolean getDisplayTrigger()
- Gets a display value to determine whether a manual jobs 'trigger' button will be shown. This is used along with
isTriggerOnlyLatestJob property allow only the latest version of a job to run.
Works by: Initially always defaulted to true. If isTriggerOnlyLatestJob is set to true then as the html code is rendered the first
job which should show the trigger button will render and then a call will be made to 'setDisplayTrigger' to change the value to both
so all future jobs will not display the trigger. see main.jelly
- Returns:
- boolean whether to display or not
setDisplayTrigger
public void setDisplayTrigger(Boolean display)
- Sets a display value to determine whether a manual jobs 'trigger' button will be shown. This is used along with
isTriggerOnlyLatestJob property allow only the latest version of a job to run.
Works by: Initially always defaulted to true. If isTriggerOnlyLatestJob is set to true then as the html code is rendered the first
job which should show the trigger button will render and then a call will be made to 'setDisplayTrigger' to change the value to both
so all future jobs will not display the trigger. see main.jelly
- Parameters:
display - - boolean to indicate whether the trigger button should be shown
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2004-2012. All Rights Reserved.