BrightSide Workbench Full Report + Source Code
org.turro.scheduler.util.ScriptRunner Class Reference
Inheritance diagram for org.turro.scheduler.util.ScriptRunner:
Collaboration diagram for org.turro.scheduler.util.ScriptRunner:

Public Member Functions

void run ()
 
String getName ()
 
String getDataLabel ()
 
- Public Member Functions inherited from org.turro.scheduler.motor.DefaultTask
boolean isSystem ()
 
boolean isDone ()
 
boolean isActive ()
 
void setActive (boolean active)
 
Constraints getConstraints ()
 
IConstructor getConstructor ()
 
String getData ()
 
void setData (String data)
 
String getDescription ()
 
void setDescription (String value)
 
Date getEndDate ()
 
void setEndDate (Date endDate)
 
String getImplementation ()
 
void setImplementation (String value)
 
Date getStartDate ()
 
void setStartDate (Date startDate)
 
void setLastExecuted (Date lastExecuted)
 
boolean shouldRun (Date now)
 
void doRun (Motor motor)
 
void stop ()
 
void readXML (Element root)
 
void writeXML (Element root)
 
- Public Member Functions inherited from org.turro.elephant.impl.abstracts.AbstractImplementation
 AbstractImplementation ()
 
void setElement (IElement element)
 
void setConstructor (IConstructor constructor)
 
void setConfiguration (Element configuration)
 
KeyValueMap getAttributes ()
 
Long getLongAttribute (String key)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.elephant.impl.abstracts.AbstractImplementation
IElement iel
 
IConstructor constructor
 
Element configuration
 
Map attributes
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file ScriptRunner.java.

Member Function Documentation

◆ getDataLabel()

String org.turro.scheduler.util.ScriptRunner.getDataLabel ( )

Reimplemented from org.turro.scheduler.motor.DefaultTask.

Definition at line 40 of file ScriptRunner.java.

40  {
41  return null;
42  }

◆ getName()

String org.turro.scheduler.util.ScriptRunner.getName ( )

Reimplemented from org.turro.scheduler.motor.DefaultTask.

Definition at line 35 of file ScriptRunner.java.

35  {
36  return (String) getAttributes().get("name");
37  }
Here is the call graph for this function:

◆ run()

void org.turro.scheduler.util.ScriptRunner.run ( )

Reimplemented from org.turro.scheduler.motor.DefaultTask.

Definition at line 30 of file ScriptRunner.java.

30  {
31  new ShellExecutor().execute((String) getAttributes().get("script"));
32  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: