org.jenkins_ci.plugins.fail_the_build
Class AbstractResult

java.lang.Object
  extended by org.jenkins_ci.plugins.fail_the_build.AbstractResult
Direct Known Subclasses:
BallResult, CycleResult

public abstract class AbstractResult
extends java.lang.Object


Constructor Summary
AbstractResult(java.lang.String name)
           
 
Method Summary
abstract  java.lang.String getDisplayName()
           
 java.lang.String getName()
           
 hudson.util.ListBoxModel.Option getOption()
           
abstract  hudson.model.Result getResult(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResult

public AbstractResult(java.lang.String name)
Method Detail

getName

public java.lang.String getName()

getDisplayName

public abstract java.lang.String getDisplayName()

getResult

public abstract hudson.model.Result getResult(hudson.model.AbstractBuild<?,?> build,
                                              hudson.model.BuildListener listener)

getOption

public hudson.util.ListBoxModel.Option getOption()

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.model.BuildListener listener)


Copyright © 2004-2011. All Rights Reserved.