Skip navigation links


com.essbase.eas.admin.defs
Class AsyncProcessViewer

java.lang.Object
  extended by com.essbase.eas.admin.defs.AsyncProcessViewer

Direct Known Subclasses:
AsyncProcessHandler.EmailStatusViewer, AsyncProcessHandler.EssbaseViewer

public abstract class AsyncProcessViewer
extends java.lang.Object

Field Summary
protected  java.lang.String action
           
protected  boolean canShowOutput
          Does this command show any output
protected  boolean canShowOutputFromFile
           
protected  java.lang.String command
          The command name can be displayed as the title of a frame and is the localized version of the original Fire and Forget commmand
protected static java.lang.String COMPLETED
           
protected static java.lang.String FAILED
           
protected  AsyncProcessStatus status
           
protected  java.lang.String title
           

 

Constructor Summary
protected AsyncProcessViewer()
           
protected AsyncProcessViewer(AsyncProcessStatus status)
           

 

Method Summary
 boolean canShowOutput()
           
 boolean canShowOutputFromFile()
          handles if the viewer can handle showing the output from a file.
 java.lang.String getAction()
           
 java.lang.String getSource()
           
 java.lang.String getTarget()
           
protected  void setCanShowOutput(boolean show)
           
protected  void setCanShowOutputFromFile(boolean show)
           
 void setStatus(AsyncProcessStatus status)
           
 void viewOutput(java.io.File file)
          View the output from a file
abstract  void viewOutput(java.lang.String output, java.lang.String encoding)
          View the output for a specific encoding

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

COMPLETED

protected static final java.lang.String COMPLETED
See Also:
Constant Field Values

FAILED

protected static final java.lang.String FAILED
See Also:
Constant Field Values

command

protected java.lang.String command
The command name can be displayed as the title of a frame and is the localized version of the original Fire and Forget commmand

title

protected java.lang.String title

action

protected java.lang.String action

canShowOutput

protected boolean canShowOutput
Does this command show any output

canShowOutputFromFile

protected boolean canShowOutputFromFile

status

protected AsyncProcessStatus status

Constructor Detail

AsyncProcessViewer

protected AsyncProcessViewer()

AsyncProcessViewer

protected AsyncProcessViewer(AsyncProcessStatus status)

Method Detail

setStatus

public void setStatus(AsyncProcessStatus status)

getSource

public java.lang.String getSource()

getTarget

public java.lang.String getTarget()

viewOutput

public abstract void viewOutput(java.lang.String output,
                                java.lang.String encoding)
View the output for a specific encoding
Parameters:
output -
encoding -

viewOutput

public void viewOutput(java.io.File file)
View the output from a file
Parameters:
file - the input file
boolean - tempFile

canShowOutput

public boolean canShowOutput()
Returns:
true if object can show output

canShowOutputFromFile

public boolean canShowOutputFromFile()
handles if the viewer can handle showing the output from a file.
Returns:
true if it can

getAction

public java.lang.String getAction()
Returns:
the action portion of the command

setCanShowOutput

protected void setCanShowOutput(boolean show)

setCanShowOutputFromFile

protected void setCanShowOutputFromFile(boolean show)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.