Tabnine Logo
SystemProcessTaskFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
SystemProcessTaskFactory
in
brooklyn.util.task.system.internal

Best Java code snippets using brooklyn.util.task.system.internal.SystemProcessTaskFactory (Showing top 7 results out of 315)

origin: io.brooklyn/brooklyn-software-base

  @Override
  public KnifeTaskFactory<String> requiringZeroAndReturningStdout() {
    return (KnifeTaskFactory<String>) super.requiringZeroAndReturningStdout();
  }
}
origin: io.brooklyn/brooklyn-software-base

@Override
public <RET2> KnifeTaskFactory<RET2> returning(Function<ProcessTaskWrapper<?>, RET2> resultTransformation) {
  return (KnifeTaskFactory<RET2>) super.returning(resultTransformation);
}

origin: io.brooklyn/brooklyn-software-base

@Override
public KnifeTaskFactory<Boolean> returningIsExitCodeZero() {
  return (KnifeTaskFactory<Boolean>) super.returningIsExitCodeZero();
}

origin: io.brooklyn/brooklyn-core

@Override
public T machine(SshMachineLocation machine) {
  log.warn("Not permitted to set machines on "+this+" (ignoring - "+machine+")");
  if (log.isDebugEnabled())
    log.debug("Source of attempt to set machines on "+this+" ("+machine+")",
        new Throwable("Source of attempt to set machines on "+this+" ("+machine+")"));
  return self();
}
origin: io.brooklyn/brooklyn-software-base

@Override
public List<Function<ProcessTaskWrapper<?>, Void>> getCompletionListeners() {
  MutableList<Function<ProcessTaskWrapper<?>, Void>> result = MutableList.copyOf(super.getCompletionListeners());
  if (throwOnCommonKnifeErrors != Boolean.FALSE)
    insertKnifeCompletionListenerIntoCompletionListenersList(result);
  return result.toImmutable();
}

origin: io.brooklyn/brooklyn-software-base

@Override
public List<String> getCommands() {
  MutableList<String> result = new MutableList<String>();
  String setupCommands = knifeSetupCommands();
  if (setupCommands != null && Strings.isNonBlank(setupCommands))
    result.add(setupCommands);
  int numKnifes = 0;
  for (String c: super.getCommands()) {
    if (c==KNIFE_PLACEHOLDER)
      result.add(buildKnifeCommand(numKnifes++));
    else
      result.add(c);
  }
  if (numKnifes==0)
    result.add(buildKnifeCommand(numKnifes++));
  return result.toImmutable();
}

origin: io.brooklyn/brooklyn-software-base

@Override
public <T2> KnifeTaskFactory<T2> returning(ScriptReturnType type) {
  return (KnifeTaskFactory<T2>) super.<T2>returning(type);
}
brooklyn.util.task.system.internalSystemProcessTaskFactory

Most used methods

  • getCommands
  • getCompletionListeners
  • requiringZeroAndReturningStdout
  • returning
  • returningIsExitCodeZero
  • self

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text plugins
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