org.jenkinsci.plugins.mongodb
クラス MongoBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
hudson.tasks.BuildWrapper
org.jenkinsci.plugins.mongodb.MongoBuildWrapper
- すべての実装されたインタフェース:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>
public class MongoBuildWrapper
- extends hudson.tasks.BuildWrapper
クラス hudson.tasks.BuildWrapper から継承された入れ子のクラス/インタフェース |
hudson.tasks.BuildWrapper.Environment |
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
クラス hudson.tasks.BuildWrapper から継承されたメソッド |
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp |
クラス hudson.model.AbstractDescribableImpl から継承されたメソッド |
getDescriptor |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MongoBuildWrapper
public MongoBuildWrapper()
MongoBuildWrapper
@DataBoundConstructor
public MongoBuildWrapper(String mongodbName,
String dbpath,
String port,
String parameters,
int startTimeout)
getMongoDB
public MongoDBInstallation getMongoDB()
getMongodbName
public String getMongodbName()
getDbpath
public String getDbpath()
getPort
public String getPort()
setMongodbName
public void setMongodbName(String mongodbName)
setDbpath
public void setDbpath(String dbpath)
setPort
public void setPort(String port)
getParameters
public String getParameters()
setParameters
public void setParameters(String parameters)
getStartTimeout
public int getStartTimeout()
- The time (in milliseconds) to wait for mongodb to start
- 戻り値:
- time in milliseconds
setStartTimeout
public void setStartTimeout(int startTimeout)
setUp
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
- オーバーライド:
- クラス
hudson.tasks.BuildWrapper
内の setUp
- 例外:
IOException
InterruptedException
launch
protected hudson.tasks.BuildWrapper.Environment launch(hudson.Launcher launcher,
hudson.util.ArgumentListBuilder args,
hudson.model.BuildListener listener,
int globalStartTimeout)
throws IOException,
InterruptedException
- 例外:
IOException
InterruptedException
setupCmd
protected hudson.FilePath setupCmd(hudson.Launcher launcher,
hudson.util.ArgumentListBuilder args,
hudson.FilePath workspace,
boolean fork,
String globalParameters)
throws IOException,
InterruptedException
- 例外:
IOException
InterruptedException
Copyright © 2004-2013. All Rights Reserved.