Class ReportExecutionContext


  • public final class ReportExecutionContext
    extends java.lang.Object
    Created by carl.gould on 3/3/2015.

    Classes that want to be notified when the execution status changes (as opposed to just checking the status at convenient points) can register a listener with addStatusChangeListener()

    • Field Detail

      • STATUS_CHANGE_PROP

        public static final java.lang.String STATUS_CHANGE_PROP
        See Also:
        Constant Field Values
    • Method Detail

      • executeExpression

        public QualifiedValue executeExpression​(java.lang.String expression)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • executeExpression

        public QualifiedValue executeExpression​(java.lang.String expression,
                                                ExpressionParseContext parseContext)
                                         throws java.lang.Exception
        Executes an expression found in a report parameter/query and returns a QualifiedValue
        Throws:
        java.lang.Exception
      • getDefaultDatabase

        public java.lang.String getDefaultDatabase()
      • getReportPath

        public java.lang.String getReportPath()
      • getUuid

        public java.util.UUID getUuid()
      • getExecutionStarted

        public java.util.Date getExecutionStarted()
      • getExecutionCompleted

        public java.util.Date getExecutionCompleted()
      • setExecutionCompleted

        public void setExecutionCompleted​(java.util.Date executionCompleted)
      • isSample

        public boolean isSample()
      • isScheduled

        public boolean isScheduled()
      • setIsScheduled

        public void setIsScheduled​(boolean isScheduled)
      • setIsAuditable

        public void setIsAuditable​(boolean isAuditable)
      • isAuditable

        public boolean isAuditable()
      • notifyFinished

        public void notifyFinished()
      • isFinishing

        public boolean isFinishing()
      • isCanceled

        public boolean isCanceled()
      • isError

        public boolean isError()
      • addStatusChangeListener

        public void addStatusChangeListener​(java.beans.PropertyChangeListener listener)
      • removeStatusChangeListener

        public void removeStatusChangeListener​(java.beans.PropertyChangeListener listener)
      • addActionFailure

        public void addActionFailure​(java.lang.String failure)
      • getActionFailures

        public java.util.List<java.lang.String> getActionFailures()
      • getProjectName

        public java.lang.String getProjectName()