Style Intelligence v12.0

inetsoft.sree.schedule
Class ReportGenAction

java.lang.Object
  extended by inetsoft.sree.schedule.ReportGenAction
All Implemented Interfaces:
RepletSupport, ScheduleAction, Serializable, Cloneable

public class ReportGenAction
extends Object
implements ScheduleAction, RepletSupport, Cloneable

A schedule action to generate replet. The action could only createReplet depending on the pregeneratedCycle.

See Also:
Serialized Form

Constructor Summary
ReportGenAction()
          Create an empty action.
ReportGenAction(String replet, RepletRequest request)
          A generaction action for the specified replet.
 
Method Summary
 Object clone()
          Clone the action.
 String getLocale()
          Get the locale used by this generation action.
 String getRepletName()
          Get the name of the replet.
 RepletRequest getRepletRequest()
          Get the request used to generate the report.
 void run(Principal principal)
          Execute the action.
 void setLocale(String locale)
          Set the locale to be used by this generation action.
 void setRepletName(String replet)
          Set the name of the replet to execute.
 void setRepletRequest(RepletRequest req)
          Set the request used to generate the report.
 String toString()
          Get the string representation.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportGenAction

public ReportGenAction()
Create an empty action.


ReportGenAction

public ReportGenAction(String replet,
                       RepletRequest request)
A generaction action for the specified replet. When this action is executed, the replet is created.

Method Detail

clone

public Object clone()
Clone the action.

Overrides:
clone in class Object

getLocale

public String getLocale()
Get the locale used by this generation action.

Returns:
Locale used by this generation action.

setLocale

public void setLocale(String locale)
Set the locale to be used by this generation action.

Parameters:
locale - to be used by this generation action.

getRepletRequest

public RepletRequest getRepletRequest()
Get the request used to generate the report.


setRepletRequest

public void setRepletRequest(RepletRequest req)
Set the request used to generate the report.


toString

public String toString()
Get the string representation.

Overrides:
toString in class Object

getRepletName

public String getRepletName()
Get the name of the replet.

Specified by:
getRepletName in interface RepletSupport

setRepletName

public void setRepletName(String replet)
Set the name of the replet to execute.

Specified by:
setRepletName in interface RepletSupport

run

public void run(Principal principal)
         throws Throwable
Execute the action.

Specified by:
run in interface ScheduleAction
Parameters:
principal - represents an entity
Throws:
Throwable

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.