eu.planets_project.ifr.core.wee.api.workflow
Class WorkflowResultItem

java.lang.Object
  extended by eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem
All Implemented Interfaces:
java.io.Serializable

public class WorkflowResultItem
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String GENERAL_WORKFLOW_ACTION
           
static java.lang.String SERVICE_ACTION_CHARACTERISATION
           
static java.lang.String SERVICE_ACTION_COMPARE
           
static java.lang.String SERVICE_ACTION_CREATEVIEW
           
static java.lang.String SERVICE_ACTION_FINAL_MIGRATION
           
static java.lang.String SERVICE_ACTION_IDENTIFICATION
           
static java.lang.String SERVICE_ACTION_MIGRATION
           
 
Constructor Summary
WorkflowResultItem(java.lang.String serviceActionIdentifier, long startTime)
          The most common constructor - if no reference to the aboutDigo is given, then we assume that the inputDigitalObject is also the one that the execute method is currently processing.
WorkflowResultItem(java.lang.String serviceActionIdentifier, long startTime, long endTime, ReportingLog logger)
          Allows to pass a specific logger.
WorkflowResultItem(java.lang.String serviceActionIdentifier, long startTime, ReportingLog logger)
          Allows to pass a specific logger.
WorkflowResultItem(java.net.URI aboutDigoRef, java.lang.String serviceActionIdentifier, long startTime)
          The most common constructor since 15.03.2010 Updated method signature to deal with shared data references (data registry).
WorkflowResultItem(java.net.URI aboutDigoRef, java.lang.String serviceActionIdentifier, long startTime, long endTime, ReportingLog logger)
           
WorkflowResultItem(java.net.URI aboutDigoRef, java.lang.String serviceActionIdentifier, long startTime, ReportingLog logger)
          Allows to pass a specific logger.
 
Method Summary
 void addExtractedInformation(java.lang.String information)
           
 void addLogInfo(java.lang.String logInfo)
           
 java.net.URI getAboutExecutionDigoRef()
           
 long getDuration()
          Duration if the start time and end time of the workflow-item have been set
 long getEndTime()
           
 java.util.List<java.lang.String> getExtractedInformation()
           
 DigitalObject getInputDigitalObject()
          Deprecated. 
 java.net.URI getInputDigitalObjectRef()
           
 java.util.List<java.lang.String> getLogInfo()
           
 DigitalObject getOutputDigitalObject()
          Deprecated. 
 java.net.URI getOutputDigitalObjectRef()
           
 java.lang.String getSActionIdentifier()
           
 ServiceDescription getServiceDescription()
           
 java.lang.String getServiceEndpoint()
           
 java.util.List<Parameter> getServiceParameters()
           
 ServiceReport getServiceReport()
           
 long getStartTime()
           
 void setAboutExecutionDigoRef(java.net.URI aboutExecutionDigoRef)
           
 void setEndTime(long endTime)
           
 void setExtractedInformation(java.util.List<java.lang.String> information)
           
 void setInputDigitalObject(DigitalObject inDigo)
          Deprecated. 
 void setInputDigitalObjectRef(java.net.URI inDigoRef)
           
 void setOutputDigitalObject(DigitalObject outDigo)
          Deprecated. 
 void setOutputDigitalObjectRef(java.net.URI outDigoRef)
           
 void setReportingLog(ReportingLog logger)
          Use a custom logger to report this item.
 void setSActionIdentifier(java.lang.String actionIdentifier)
           
 void setServiceDescription(ServiceDescription serDescr)
           
 void setServiceEndpoint(java.net.URL serviceEndpoint)
           
 void setServiceParameters(java.util.List<Parameter> serviceParams)
           
 void setServiceReport(ServiceReport serviceReport)
           
 void setStartTime(long startTime)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GENERAL_WORKFLOW_ACTION

public static final java.lang.String GENERAL_WORKFLOW_ACTION
See Also:
Constant Field Values

SERVICE_ACTION_MIGRATION

public static final java.lang.String SERVICE_ACTION_MIGRATION
See Also:
Constant Field Values

SERVICE_ACTION_FINAL_MIGRATION

public static final java.lang.String SERVICE_ACTION_FINAL_MIGRATION
See Also:
Constant Field Values

SERVICE_ACTION_IDENTIFICATION

public static final java.lang.String SERVICE_ACTION_IDENTIFICATION
See Also:
Constant Field Values

SERVICE_ACTION_CHARACTERISATION

public static final java.lang.String SERVICE_ACTION_CHARACTERISATION
See Also:
Constant Field Values

SERVICE_ACTION_CREATEVIEW

public static final java.lang.String SERVICE_ACTION_CREATEVIEW
See Also:
Constant Field Values

SERVICE_ACTION_COMPARE

public static final java.lang.String SERVICE_ACTION_COMPARE
See Also:
Constant Field Values
Constructor Detail

WorkflowResultItem

public WorkflowResultItem(java.lang.String serviceActionIdentifier,
                          long startTime)
The most common constructor - if no reference to the aboutDigo is given, then we assume that the inputDigitalObject is also the one that the execute method is currently processing.

Parameters:
serviceActionIdentifier -
startTime -
endTime -

WorkflowResultItem

public WorkflowResultItem(java.lang.String serviceActionIdentifier,
                          long startTime,
                          ReportingLog logger)
Allows to pass a specific logger.

See Also:
WorkflowResultItem(String, long)

WorkflowResultItem

public WorkflowResultItem(java.lang.String serviceActionIdentifier,
                          long startTime,
                          long endTime,
                          ReportingLog logger)
Allows to pass a specific logger.

See Also:
WorkflowResultItem#WorkflowResultItem(String, long, long)

WorkflowResultItem

public WorkflowResultItem(java.net.URI aboutDigoRef,
                          java.lang.String serviceActionIdentifier,
                          long startTime)
The most common constructor since 15.03.2010 Updated method signature to deal with shared data references (data registry).

Parameters:
aboutDigoRef - The original reference for which the execute was called
serviceActionIdentifier -
startTime -
endTime -

WorkflowResultItem

public WorkflowResultItem(java.net.URI aboutDigoRef,
                          java.lang.String serviceActionIdentifier,
                          long startTime,
                          ReportingLog logger)
Allows to pass a specific logger. since 15.03.2010 Updated method signature to deal with shared data references (data registry).

See Also:
WorkflowResultItem(URI, String, long)

WorkflowResultItem

public WorkflowResultItem(java.net.URI aboutDigoRef,
                          java.lang.String serviceActionIdentifier,
                          long startTime,
                          long endTime,
                          ReportingLog logger)
Method Detail

setReportingLog

public void setReportingLog(ReportingLog logger)
Use a custom logger to report this item.

Parameters:
logger -

setInputDigitalObject

@Deprecated
public void setInputDigitalObject(DigitalObject inDigo)
Deprecated. 


setInputDigitalObjectRef

public void setInputDigitalObjectRef(java.net.URI inDigoRef)

setOutputDigitalObject

@Deprecated
public void setOutputDigitalObject(DigitalObject outDigo)
Deprecated. 


setOutputDigitalObjectRef

public void setOutputDigitalObjectRef(java.net.URI outDigoRef)

setExtractedInformation

public void setExtractedInformation(java.util.List<java.lang.String> information)

addExtractedInformation

public void addExtractedInformation(java.lang.String information)

addLogInfo

public void addLogInfo(java.lang.String logInfo)

getLogInfo

public java.util.List<java.lang.String> getLogInfo()

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long startTime)

getEndTime

public long getEndTime()

setEndTime

public void setEndTime(long endTime)

getDuration

public long getDuration()
Duration if the start time and end time of the workflow-item have been set

Returns:

getSActionIdentifier

public java.lang.String getSActionIdentifier()

setSActionIdentifier

public void setSActionIdentifier(java.lang.String actionIdentifier)

getInputDigitalObject

@Deprecated
public DigitalObject getInputDigitalObject()
Deprecated. 


getInputDigitalObjectRef

public java.net.URI getInputDigitalObjectRef()

getOutputDigitalObject

@Deprecated
public DigitalObject getOutputDigitalObject()
Deprecated. 


getOutputDigitalObjectRef

public java.net.URI getOutputDigitalObjectRef()

getExtractedInformation

public java.util.List<java.lang.String> getExtractedInformation()

getServiceReport

public ServiceReport getServiceReport()

setServiceReport

public void setServiceReport(ServiceReport serviceReport)

getServiceParameters

public java.util.List<Parameter> getServiceParameters()

setServiceParameters

public void setServiceParameters(java.util.List<Parameter> serviceParams)

getAboutExecutionDigoRef

public java.net.URI getAboutExecutionDigoRef()

setAboutExecutionDigoRef

public void setAboutExecutionDigoRef(java.net.URI aboutExecutionDigoRef)

getServiceEndpoint

public java.lang.String getServiceEndpoint()

setServiceEndpoint

public void setServiceEndpoint(java.net.URL serviceEndpoint)

getServiceDescription

public ServiceDescription getServiceDescription()

setServiceDescription

public void setServiceDescription(ServiceDescription serDescr)

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.