Tabnine Logo
LocalContainer.setTimeout
Code IndexAdd Tabnine to your IDE (free)

How to use
setTimeout
method
in
org.codehaus.cargo.container.LocalContainer

Best Java code snippets using org.codehaus.cargo.container.LocalContainer.setTimeout (Showing top 4 results out of 315)

origin: codehaus-cargo/cargo

/**
 * Setup timeout.
 * @param container Container.
 * @param project Cargo project.
 */
private void setupTimeout(org.codehaus.cargo.container.LocalContainer container,
  CargoProject project)
{
  if (getTimeout() != null)
  {
    project.getLog().debug("Setting container timeout to [" + getTimeout() + "]");
    container.setTimeout(getTimeout().longValue());
  }
}
origin: org.codehaus.cargo/cargo-ant

/**
 * Set up a timeout if defined.
 */
protected void setupTimeout()
{
  if (getTimeout() != 0)
  {
    if (getTimeout() != ((LocalContainer) getContainer()).getTimeout())
    {
      ((LocalContainer) getContainer()).setTimeout(getTimeout());
    }
  }
}
origin: codehaus-cargo/cargo

/**
 * Set up a timeout if defined.
 */
protected void setupTimeout()
{
  if (getTimeout() != 0)
  {
    if (getTimeout() != ((LocalContainer) getContainer()).getTimeout())
    {
      ((LocalContainer) getContainer()).setTimeout(getTimeout());
    }
  }
}
origin: codehaus-cargo/cargo

/**
 * Setup local settings.
 * @param configuration Container configuration.
 * @param container Local container.
 */
private void setUpLocalSettings(Configuration configuration, LocalContainer container)
{
  if (container.getType() == ContainerType.EMBEDDED)
  {
    ((EmbeddedLocalContainer) container).setClassLoader(this.classLoader);
  }
  else if (container.getType() == ContainerType.INSTALLED)
  {
    setUpHome((InstalledLocalContainer) container);
    setUpClover((InstalledLocalContainer) container);
  }
  File logFile = new File(new File(getTestData().targetDir).getParentFile(), "output.log");
  // delete the previous run's output, if it exists.
  logFile.delete();
  container.setOutput(logFile.getPath());
  container.setTimeout(getTestData().containerTimeout);
}
org.codehaus.cargo.containerLocalContainersetTimeout

Popular methods of LocalContainer

  • getConfiguration
  • getId
  • getState
  • getName
  • stop
  • restart
  • start
  • getCapability
  • getFileHandler
  • isAppend
  • setOutput
  • getLogger
  • setOutput,
  • getLogger,
  • getOutput,
  • getTimeout,
  • getType,
  • setAppend,
  • setConfiguration

Popular in Java

  • Start an intent from android
  • findViewById (Activity)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now