- getAsConfig() - Method in Jexler
-
Convenience method for getting ConfigSlurper config from parsing
this jexler; uses the class already compiled by Grengine.
- getAsConfig(String) - Method in JexlerContainer
-
Convenience method for getting ConfigSlurper config from parsing
the given jexler; uses the class already compiled by Grengine.
- getBuilder() - Method in JexlerContainerSources
-
gets the builder.
- getCause() - Method in Issue
-
Get throwable that caused the issue, null if none.
- getCompilerFactory() - Method in JexlerContainerSources.Builder
-
gets the compiler factory.
- getContainer() - Method in Jexler
-
Get container that contains this jexler.
- getContainer() - Method in JexlerContainerSources.Builder
-
gets the container.
- getCron() - Method in CronEvent
-
Get cron pattern.
- getCron() - Method in CronService
-
Get cron pattern.
- getCron() - Method in DirWatchService
-
Get cron pattern.
- getDate() - Method in Issue
-
Get date and time when the issue occurred.
- getDir() - Method in DirWatchService
-
Get directory to watch.
- getDir() - Method in Jexler
-
Get directory that contains script file.
- getDir() - Method in JexlerContainer
-
Get container directory.
- getEnv() - Method in ShellTool
-
Get environment variables for the command.
- getFile() - Method in DirWatchEvent
-
Get file that has been created, modified or deleted.
- getFile() - Method in Jexler
-
Get jexler script file.
- getGrengine() - Method in JexlerContainer
-
Get container Grengine instance.
- getId() - Method in Jexler
-
- getId() - Method in Service
-
Get service id.
- getId() - Method in ServiceBase
-
- getId() - Method in ServiceGroup
-
- getIssues() - Method in IssueTracker
-
Get remembered issues, most recent issue first.
- getIssues() - Method in IssueTrackerBase
-
Returns an unmodifiable list.
- getIssues() - Method in Jexler
-
- getIssues() - Method in JexlerContainer
-
- getJexler() - Method in CronService
-
Get jexler.
- getJexler() - Method in DirWatchService
-
Get jexler.
- getJexler(String) - Method in JexlerContainer
-
Get the jexler for the given id.
- getJexlerFile(String) - Method in JexlerContainer
-
Get the file for the given jexler id,
even if no such file exists (yet).
- getJexlerId(File) - Method in JexlerContainer
-
Get the jexler id for the given file,
even if the file does not exist (any more),
or null if not a jexler script.
- getJexlers() - Method in JexlerContainer
-
Get the list of all jexlers, first runnable jexlers,
then non-runnable ones, each group sorted by id.
- getKind() - Method in DirWatchEvent
-
Get what happened with the file.
- getKinds() - Method in DirWatchService
-
Get kinds of events to watch for.
- getLatencyMs() - Method in JexlerContainerSources.Builder
-
gets the latency in milliseconds.
- getLogger() - Method in JexlerContainer
-
Get logger for container.
- getMessage() - Method in Issue
-
Get message that explains the issue, may be null.
- getMetaConfig() - Method in Jexler
-
Get meta config.
- getModifiers() - Method in DirWatchService
-
Get modifiers when watching for events.
- getScheduler() - Method in CronService
-
Get quartz scheduler.
- getScheduler() - Method in DirWatchService
-
Get quartz scheduler.
- getScheduler() - Method in JexlerContainer
-
Get shared quartz scheduler, already started.
- getScript() - Method in Jexler
-
Get jexler script instance, null if script is not running.
- getService() - Method in Event
-
Get service that sent the event.
- getService() - Method in EventBase
-
- getService() - Method in Issue
-
Get service where the issue occurred, may be null.
- getServices() - Method in ServiceGroup
-
Get the list of services.
- getSourceFactory() - Method in JexlerContainerSources.Builder
-
gets the source factory.
- getSourceSetNew() - Method in JexlerContainerSources
-
gets the updated source set.
- getStackTrace() - Method in Issue
-
Get exception stack trace as a multi-line string,
empty if could not get it or no causing throwable.
- getStackTrace(Throwable) - Method in JexlerUtil
-
Get stack trace for given throwable as a string.
- getState() - Method in Jexler
-
- getState() - Method in Service
-
Get service state.
- getState() - Method in ServiceBase
-
- getState() - Method in ServiceGroup
-
Get service state of the group.
- getStderrLineHandler() - Method in ShellTool
-
Get closure for handling stderr lines.
- getStdoutLineHandler() - Method in ShellTool
-
Get closure for handling stdout lines.
- getWorkingDirectory() - Method in ShellTool
-
Get working directory for command.
- isBusy() - Method in ServiceState
-
Convenience method, returns true if busy.
- isBusyEvent() - Method in ServiceState
-
Convenience method, returns true if BUSY_EVENT.
- isBusyStarting() - Method in ServiceState
-
Convenience method, returns true if BUSY_STARTING.
- isBusyStopping() - Method in ServiceState
-
Convenience method, returns true if BUSY_STOPPING.
- isIdle() - Method in ServiceState
-
Convenience method, returns true if IDLE.
- isOff() - Method in ServiceState
-
Convenience method, returns true if OFF.
- isOn() - Method in ServiceState
-
Convenience method, returns true if not OFF.
- isOperational() - Method in ServiceState
-
Convenience method, returns true if IDLE or BUSY_EVENT,
in other words, if the service is up and processing events.
- isRunnable() - Method in Jexler
-
Return true if jexler is indicated as a jexler in the first
line of its script text (meta config); more precisely returns
the state at startup if already running, else reads from file.
- Issue - Class in ch.grengine.jexler
Issue.
- Issue(Service, String, Throwable) - Constructor in Issue
-
Constructor from service, message and exception.
- IssueTracker - Interface in ch.grengine.jexler
Interface for tracking issues.
- IssueTrackerBase - Class in ch.grengine.jexler
Implementation of issue tracker interface.
- IssueTrackerBase() - Constructor in IssueTrackerBase
-
Default constructor.
- Service - Interface in ch.grengine.jexler.service
Interface for a service.
- ServiceBase - Class in ch.grengine.jexler.service
Abstract service base implementation.
- ServiceBase(String) - Constructor in ServiceBase
-
Constructor.
- ServiceGroup - Class in ch.grengine.jexler.service
Service which is a group of services.
- ServiceGroup(String) - Constructor in ServiceGroup
-
Constructor.
- ServiceState - Enum in ch.grengine.jexler.service
Enum for the state of a service.
- ServiceState(String) - Constructor in ServiceState
-
Constructor from info.
- ServiceUtil - Class in ch.grengine.jexler.service
Service utilities.
- setByteBufferPadLen(int) - Method in StringObfuscatorTool
-
Set the length to which to pad the plain string as UTF-8 encoded byte buffer.
- setCompilerFactory(CompilerFactory) - Method in JexlerContainerSources.Builder
-
sets the compiler factory for compiling sources, default
is a new instance of ch.artecat.grengine.code.groovy.DefaultGroovyCompilerFactory.
- setCron(String) - Method in CronService
-
Set cron pattern, e.g. "* * * * *" or with seconds "0 * * * * *".
- setCron(String) - Method in DirWatchService
-
Set cron pattern for when to check.
- setDir(File) - Method in DirWatchService
-
Set directory to watch.
- setEnvironment(Map<String, String>) - Method in ShellTool
-
Set environment variables for the command.
- setKinds(Kind<Path>>) - Method in DirWatchService
-
Set kinds of events to watch for.
- setLatencyMs(long) - Method in JexlerContainerSources.Builder
-
sets the latency in milliseconds for checking if script files
in the directory have changed, default is
DEFAULT_LATENCY_MS.
- setModifiers(Modifier>) - Method in DirWatchService
-
Set modifiers when watching for events.
- setParameters(String, String, String, String) - Method in StringObfuscatorTool
-
Set key, iv, algorithm and transformation.
- setScheduler(Scheduler) - Method in CronService
-
Set quartz scheduler.
- setScheduler(Scheduler) - Method in DirWatchService
-
Set quartz scheduler.
- setSourceFactory(SourceFactory) - Method in JexlerContainerSources.Builder
-
sets the source factory for creating sources from files, default
is a new instance of ch.artecat.grengine.source.DefaultSourceFactory.
- setState(ServiceState) - Method in ServiceBase
-
Set state to given value.
- setStderrLineHandler(Closure) - Method in ShellTool
-
Set a closure that will be called to handle each line of stderr.
- setStdoutLineHandler(Closure) - Method in ShellTool
-
Set a closure that will be called to handle each line of stdout.
- setWorkingDirectory(File) - Method in ShellTool
-
Set working directory for the command.
- ShellTool - Class in ch.grengine.jexler.tool
Tool for running shell commands, just a thin wrapper around
the java runtime exec calls.
- ShellTool.Result - Class in ch.grengine.jexler.tool
Simple bean for the result of executing a shell command.
- ShellTool.Result(int, String, String) - Constructor in ShellTool.Result
-
- ShellTool() - Constructor in ShellTool
-
Constructor.
- SHUTDOWN_TIMEOUT_MSG - Field in JexlerUtil
-
- start() - Method in CronService
-
- start() - Method in DirWatchService
-
- start() - Method in Jexler
-
Initiate jexler start.
- start() - Method in JexlerContainer
-
Start jexlers that are marked as autostart.
- start() - Method in Service
-
Initiate service start.
- start() - Method in ServiceGroup
-
Start all services in the group.
- STARTUP_TIMEOUT_MSG - Field in JexlerUtil
-
- stop() - Method in CronService
-
- stop() - Method in DirWatchService
-
- stop() - Method in Jexler
-
Initiate jexler stop by sending it a stop event to handle.
- stop() - Method in JexlerContainer
-
- stop() - Method in Service
-
Initiate service stop.
- stop() - Method in ServiceGroup
-
Stop all services in a group.
- StopEvent - Class in ch.grengine.jexler.service
Event to stop a running jexler.
- StopEvent(Service) - Constructor in StopEvent
-
Constructor.
- StringObfuscatorTool - Class in ch.grengine.jexler.tool
Tool for (de-)obfuscating strings.
- StringObfuscatorTool() - Constructor in StringObfuscatorTool
-
Default constructor.