i-net Clear Reports

com.inet.report.schedule
Class Scheduler.DynamicPropertiesDefinition

java.lang.Object
  extended by com.inet.report.schedule.Scheduler.DynamicPropertiesDefinition
Enclosing class:
Scheduler

public class Scheduler.DynamicPropertiesDefinition
extends java.lang.Object

This class stores the information about your instances of DynamicProperties classes which can be used in the i-net Scheduler. The information needed for such an instance are the name of the class which should be used and the path which should be added to the class path to find this class.


Method Summary
 java.lang.String getClassName()
          Returns the class name of the DynamicProperties implementation which is represented by this definition.
 java.lang.String getPath()
          Returns the path where the instance of DynamicProperties class should be found.
 void initClass(java.lang.String className)
          This method will set the name of the DynamicProperties class which should be represented by this dynamic properties definition and the path where this class should be found.
 void setClassAndPath(java.lang.String className, java.lang.String path)
          This method will set the name of the DynamicProperties class which should be represented by this dynamic properties definition and the path where this class should be found.
 

Method Detail

getPath

public java.lang.String getPath()
Returns the path where the instance of DynamicProperties class should be found. Usually this will point to a jar file which will be added to the class path automatically to find DynamicProperties class. This path can also be empty or null if you're sure that the custom action class is in class path when the i-net Scheduler is started.

Returns:
The path where the DynamicProperties class can be found. (Can be empty or null)

getClassName

public java.lang.String getClassName()
Returns the class name of the DynamicProperties implementation which is represented by this definition. This is a name of a class which implements DynamicProperties.

Returns:
The name of the class implementing DynamicProperties.

setClassAndPath

public void setClassAndPath(java.lang.String className,
                            java.lang.String path)
                     throws ScheduleException
This method will set the name of the DynamicProperties class which should be represented by this dynamic properties definition and the path where this class should be found.

Parameters:
className - The name of the DynamicProperties class
path - The path of the jar file where the class can be found or empty if you're sure that the class in classpath when the scheduler is started.
Throws:
ScheduleException -
  • If there is already a DynamicProperties class defined with this name. (SE0020)
  • If the DynamicProperties class could not be found in classpath. (SE0021)
  • If the found class does not implement DynamicProperties. (SE0022)
  • If the found class is abstract. (SE0023)

initClass

public void initClass(java.lang.String className)
               throws ScheduleException
This method will set the name of the DynamicProperties class which should be represented by this dynamic properties definition and the path where this class should be found.

Parameters:
className - The name of the DynamicProperties class empty if you're sure that the class in classpath when the scheduler is started.
Throws:
ScheduleException -
  • If there is already a DynamicProperties class defined with this name. (SE0020)
  • If the DynamicProperties class could not be found in classpath. (SE0021)
  • If the found class does not implement DynamicProperties. (SE0022)
  • If the found class is abstract. (SE0023)

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH