Codota Logo
WorkflowReport.getStartedDate
Code IndexAdd Codota to your IDE (free)

How to use
getStartedDate
method
in
org.apache.taverna.platform.report.WorkflowReport

Best Java code snippets using org.apache.taverna.platform.report.WorkflowReport.getStartedDate (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: org.apache.taverna.engine/taverna-report-api

@Override
public String toString() {
  DateFormat dateFormat = new SimpleDateFormat(dateFormatString);
  StringBuilder sb = new StringBuilder();
  int max = getLongestName(this, 0);
  spaces(sb, max + 1);
  sb.append("Status    ");
  sb.append("Queued    ");
  sb.append("Started   ");
  sb.append("Complete  ");
  sb.append("Errors    ");
  sb.append("Started             ");
  sb.append("Finished\n");
  sb.append(getSubject().getName());
  spaces(sb, max - getSubject().getName().length() + 1);
  sb.append(getState());
  spaces(sb, 10 - getState().name().length());
  sb.append("-");
  spaces(sb, 9);
  sb.append("-");
  spaces(sb, 9);
  sb.append("-");
  spaces(sb, 9);
  sb.append("-");
  spaces(sb, 9);
  addDates(sb, getStartedDate(), getCompletedDate(), dateFormat);
  for (ProcessorReport processorReport : getProcessorReports())
    addProcessor(sb, max, 0, processorReport, dateFormat);
  return sb.toString();
}
origin: org.apache.taverna.engine/taverna-run-impl

assertEquals(date(2013,1,2,14,50), wfReport.getStartedDate());
assertEquals(date(2013,12,31,0,0), wfReport.getCompletedDate());
assertNull(wfReport.getCancelledDate());
org.apache.taverna.platform.reportWorkflowReportgetStartedDate

Popular methods of WorkflowReport

  • addProcessorReport
  • getState
  • getSubject
  • <init>
  • getCompletedDate
  • getCreatedDate
  • getDataBundle
  • getProcessorReports
  • setParentReport
  • addDates
  • addInvocation
  • addProcessor
  • addInvocation,
  • addProcessor,
  • addReportListener,
  • getCancelledDate,
  • getInvocations,
  • getLongestName,
  • getParentReport,
  • getPausedDate,
  • getPausedDates

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now