|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objecthudson.plugins.build_timeout.BuildTimeOutStrategy
public abstract class BuildTimeOutStrategy
フィールドの概要 | |
---|---|
static Logger |
LOG
|
static long |
MINUTES
|
コンストラクタの概要 | |
---|---|
BuildTimeOutStrategy()
|
メソッドの概要 | |
---|---|
protected String |
expandAll(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String string)
|
hudson.model.Descriptor<BuildTimeOutStrategy> |
getDescriptor()
|
long |
getTimeOut(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Define the delay (in milliseconds) to wait for the build to complete before interrupting. |
long |
getTimeOut(hudson.model.Run run)
推奨されていません。 override getTimeOut(hudson.model.AbstractBuild, hudson.model.BuildListener) instead. |
void |
onWrite(hudson.model.AbstractBuild<?,?> build,
byte[] b,
int length)
Called when some output to console. |
void |
onWrite(hudson.model.AbstractBuild<?,?> build,
int b)
推奨されていません。 use onWrite(AbstractBuild, byte[], int) |
boolean |
wantsCaptureLog()
Decides whether to call BuildTimeOutStrategy.onWrite
For performance reason, BuildTimeOutStrategy.onWrite is called
only when subclass overrides it. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final long MINUTES
public static final Logger LOG
コンストラクタの詳細 |
---|
public BuildTimeOutStrategy()
メソッドの詳細 |
---|
@Deprecated public long getTimeOut(hudson.model.Run run)
getTimeOut(hudson.model.AbstractBuild, hudson.model.BuildListener)
instead.
run
- public long getTimeOut(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws InterruptedException, org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException
build
- the buildlistener
- the build listener
InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
@Deprecated public void onWrite(hudson.model.AbstractBuild<?,?> build, int b)
onWrite(AbstractBuild, byte[], int)
build
- b
- output character.public void onWrite(hudson.model.AbstractBuild<?,?> build, byte[] b, int length)
build
- b
- output characters.length
- length of b to outputpublic boolean wantsCaptureLog()
BuildTimeOutStrategy.onWrite
For performance reason, BuildTimeOutStrategy.onWrite
is called
only when subclass overrides it.
BuildTimeOutStrategy.onWrite
public hudson.model.Descriptor<BuildTimeOutStrategy> getDescriptor()
hudson.model.Describable<BuildTimeOutStrategy>
内の getDescriptor
Describable.getDescriptor()
protected final String expandAll(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, String string) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |