hudson.plugins.build_timeout
クラス BuildTimeOutOperation
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutOperation
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<BuildTimeOutOperation>
- 直系の既知のサブクラス:
- AbortOperation, BuildStepOperation, FailOperation, WriteDescriptionOperation
public abstract class BuildTimeOutOperation
- extends Object
- implements hudson.ExtensionPoint, hudson.model.Describable<BuildTimeOutOperation>
Defines an operation performed when timeout occurs.
They are called "Timeout Actions", but the class is BuildTimeOutOperation
not to be confused with Action
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildTimeOutOperation
public BuildTimeOutOperation()
perform
public abstract boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
long effectiveTimeout)
- Perform operation.
- パラメータ:
build
- build timed outlistener
- build listener. can be used to print log.effectiveTimeout
- timeout (milliseconds)
- 戻り値:
- false not to run subsequent operations. It also mark the build as failure.
getDescriptor
public BuildTimeOutOperationDescriptor getDescriptor()
- 定義:
- インタフェース
hudson.model.Describable<BuildTimeOutOperation>
内の getDescriptor
- 戻り値:
- 関連項目:
Describable.getDescriptor()
Copyright © 2004-2014. All Rights Reserved.