Skip navigation links
A D E F G I M N O P Q R S T U V 

A

AbstractTask - Class in org.ballerinalang.stdlib.task.objects
Abstract class which represents a ballerina task.
addService(ServiceWithParameters) - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Add particular service to the registry of the Task.
addService(ServiceWithParameters) - Method in interface org.ballerinalang.stdlib.task.objects.Task
Add particular service to the registry of the Task.
Appointment - Class in org.ballerinalang.stdlib.task.objects
Represents an appointment.
Appointment(String) - Constructor for class org.ballerinalang.stdlib.task.objects.Appointment
Creates an Appointment object with provided cron expression.
Appointment(String, long) - Constructor for class org.ballerinalang.stdlib.task.objects.Appointment
Creates an Appointment object with provided cron expression, which will stop after running provided number of times.

D

DetachService - Class in org.ballerinalang.stdlib.task.actions
Native function to detach a service from the listener.
DetachService() - Constructor for class org.ballerinalang.stdlib.task.actions.DetachService
 

E

execute(Context) - Method in class org.ballerinalang.stdlib.task.actions.DetachService
 
execute(Context) - Method in class org.ballerinalang.stdlib.task.actions.Pause
 
execute(Context) - Method in class org.ballerinalang.stdlib.task.actions.Resume
 
execute(Context) - Method in class org.ballerinalang.stdlib.task.service.Init
 
execute(Context) - Method in class org.ballerinalang.stdlib.task.service.Register
 
execute(Context) - Method in class org.ballerinalang.stdlib.task.service.Start
 
execute(Context) - Method in class org.ballerinalang.stdlib.task.service.Stop
 
execute(ServiceWithParameters) - Static method in class org.ballerinalang.stdlib.task.utils.TaskExecutor
 
execute(JobExecutionContext) - Method in class org.ballerinalang.stdlib.task.utils.TaskJob

F

FIELD_DAYS_OF_MONTH - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_DAYS_OF_WEEK - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_DELAY - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_HOURS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_INTERVAL - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_MINUTES - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_MONTHS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_NO_OF_RUNS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_SECONDS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
FIELD_YEAR - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 

G

generate() - Static method in class org.ballerinalang.stdlib.task.utils.TaskIdGenerator
Generate a unique ID for a Task.
getAttachment() - Method in class org.ballerinalang.stdlib.task.objects.ServiceWithParameters
 
getCronExpression() - Method in class org.ballerinalang.stdlib.task.objects.Appointment
Returns the cron expression for this Appointment.
getCronExpressionFromAppointmentRecord(BValue) - Static method in class org.ballerinalang.stdlib.task.utils.Utils
 
getDelay() - Method in class org.ballerinalang.stdlib.task.objects.Timer
Gets the delay of this Timer.
getId() - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Get the registered ID of the task.
getId() - Method in interface org.ballerinalang.stdlib.task.objects.Task
Get the registered ID of the task.
getInterval() - Method in class org.ballerinalang.stdlib.task.objects.Timer
Gets the interval of this Timer.
getMaxRuns() - Method in class org.ballerinalang.stdlib.task.objects.Appointment
Gets the number of maximum runs of this Appointment.
getMaxRuns() - Method in class org.ballerinalang.stdlib.task.objects.Timer
Gets the number of maximum runs of this Timer.
getName() - Method in class org.ballerinalang.stdlib.task.objects.ServiceWithParameters
 
getService(String) - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Get map of attached services of the task.
getService() - Method in class org.ballerinalang.stdlib.task.objects.ServiceWithParameters
 
getService(String) - Method in interface org.ballerinalang.stdlib.task.objects.Task
Get map of attached services of the task.
getServicesMap() - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Get map of attached services of the task.
getServicesMap() - Method in interface org.ballerinalang.stdlib.task.objects.Task
Get map of attached services of the task.

I

id - Variable in class org.ballerinalang.stdlib.task.objects.AbstractTask
 
Init - Class in org.ballerinalang.stdlib.task.service
Native function to attach a service to the listener.
Init() - Constructor for class org.ballerinalang.stdlib.task.service.Init
 

M

MEMBER_APPOINTMENT_DETAILS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
MEMBER_LISTENER_CONFIGURATION - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 

N

NATIVE_DATA_TASK_OBJECT - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 

O

OBJECT_NAME_LISTENER - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
org.ballerinalang.stdlib.task.actions - package org.ballerinalang.stdlib.task.actions
 
org.ballerinalang.stdlib.task.api - package org.ballerinalang.stdlib.task.api
 
org.ballerinalang.stdlib.task.exceptions - package org.ballerinalang.stdlib.task.exceptions
 
org.ballerinalang.stdlib.task.generated.providers - package org.ballerinalang.stdlib.task.generated.providers
 
org.ballerinalang.stdlib.task.impl - package org.ballerinalang.stdlib.task.impl
 
org.ballerinalang.stdlib.task.objects - package org.ballerinalang.stdlib.task.objects
 
org.ballerinalang.stdlib.task.service - package org.ballerinalang.stdlib.task.service
 
org.ballerinalang.stdlib.task.utils - package org.ballerinalang.stdlib.task.utils
 
ORGANIZATION_NAME - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 

P

PACKAGE_NAME - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
PACKAGE_STRUCK_NAME - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
PARAMETER_ATTACHMENT - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
Pause - Class in org.ballerinalang.stdlib.task.actions
Native function to pause the task.
Pause() - Constructor for class org.ballerinalang.stdlib.task.actions.Pause
 
pause() - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Pause the task.
pause() - Method in interface org.ballerinalang.stdlib.task.objects.Task
Pause the task.
populateNatives(NativeElementRepository) - Method in class org.ballerinalang.stdlib.task.generated.providers.StandardNativeElementProvider
 

Q

QUARTZ_INSTANCE_ID - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_INSTANCE_NAME - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_JOB_STORE_CLASS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_JOB_STORE_CLASS_VALUE - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_THREAD_COUNT - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_THREAD_COUNT_VALUE - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_THREAD_POOL_CLASS - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
QUARTZ_THREAD_POOL_CLASS_VALUE - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 

R

RECORD_APPOINTMENT_DATA - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
RECORD_TIMER_CONFIGURATION - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
REF_ARG_INDEX_TASK_RECORD - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
REF_ARG_INDEX_TASK_SERVICE - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
Register - Class in org.ballerinalang.stdlib.task.service
Native function to attach a service to the listener.
Register() - Constructor for class org.ballerinalang.stdlib.task.service.Register
 
removeService(String) - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Remove particular service from the registry of the Task.
removeService(String) - Method in interface org.ballerinalang.stdlib.task.objects.Task
Remove particular service from the registry of the Task.
RESOURCE_ON_TRIGGER - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
ResourceFunctionHolder - Class in org.ballerinalang.stdlib.task.utils
Class to extract the resource functions from a service.
Resume - Class in org.ballerinalang.stdlib.task.actions
Native function to resume a paused task.
Resume() - Constructor for class org.ballerinalang.stdlib.task.actions.Resume
 
resume() - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Resumes the task.
resume() - Method in interface org.ballerinalang.stdlib.task.objects.Task
Resumes the task.

S

SchedulingException - Exception in org.ballerinalang.stdlib.task.exceptions
This exception is thrown when scheduling fails.
SchedulingException() - Constructor for exception org.ballerinalang.stdlib.task.exceptions.SchedulingException
 
SchedulingException(String) - Constructor for exception org.ballerinalang.stdlib.task.exceptions.SchedulingException
 
SchedulingException(String, Throwable) - Constructor for exception org.ballerinalang.stdlib.task.exceptions.SchedulingException
 
ServiceWithParameters - Class in org.ballerinalang.stdlib.task.objects
Custom object to store service with the parameters to use inside the service.
ServiceWithParameters(Service, BValue) - Constructor for class org.ballerinalang.stdlib.task.objects.ServiceWithParameters
 
ServiceWithParameters(Service) - Constructor for class org.ballerinalang.stdlib.task.objects.ServiceWithParameters
 
setError(Context, String) - Static method in class org.ballerinalang.stdlib.task.utils.Utils
 
StandardNativeElementProvider - Class in org.ballerinalang.stdlib.task.generated.providers
 
StandardNativeElementProvider() - Constructor for class org.ballerinalang.stdlib.task.generated.providers.StandardNativeElementProvider
 
start() - Method in interface org.ballerinalang.stdlib.task.api.TaskServerConnector
Start the server connector, which actually start the task.
start() - Method in class org.ballerinalang.stdlib.task.impl.TaskServerConnectorImpl
Start the server connector, which actually start the task.
start(Context) - Method in class org.ballerinalang.stdlib.task.objects.Appointment
Run all the services attached to the task.
start(Context) - Method in interface org.ballerinalang.stdlib.task.objects.Task
Run all the services attached to the task.
start(Context) - Method in class org.ballerinalang.stdlib.task.objects.Timer
Run all the services attached to the task.
Start - Class in org.ballerinalang.stdlib.task.service
Native function to start the service attached to the listener.
Start() - Constructor for class org.ballerinalang.stdlib.task.service.Start
 
stop() - Method in interface org.ballerinalang.stdlib.task.api.TaskServerConnector
Stop the server connector which actually stops the task.
stop() - Method in class org.ballerinalang.stdlib.task.impl.TaskServerConnectorImpl
Stop the server connector which actually stops the task.
stop() - Method in class org.ballerinalang.stdlib.task.objects.AbstractTask
Stop the task.
stop() - Method in interface org.ballerinalang.stdlib.task.objects.Task
Stop the task.
Stop - Class in org.ballerinalang.stdlib.task.service
Native function to start the service attached to the listener.
Stop() - Constructor for class org.ballerinalang.stdlib.task.service.Stop
 

T

Task - Interface in org.ballerinalang.stdlib.task.objects
Ballerina task interface.
TASK_ERROR_CODE - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
TASK_ERROR_MESSAGE - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
TASK_ERROR_RECORD - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
TASK_OBJECT - Static variable in class org.ballerinalang.stdlib.task.utils.TaskConstants
 
TaskConstants - Class in org.ballerinalang.stdlib.task.utils
Task related constants.
TaskConstants() - Constructor for class org.ballerinalang.stdlib.task.utils.TaskConstants
 
TaskExecutor - Class in org.ballerinalang.stdlib.task.utils
This class invokes the Ballerina onTrigger function, and if an error occurs while invoking that function, it invokes the onError function.
TaskExecutor() - Constructor for class org.ballerinalang.stdlib.task.utils.TaskExecutor
 
TaskIdGenerator - Class in org.ballerinalang.stdlib.task.utils
Generates unique task IDs.
TaskIdGenerator() - Constructor for class org.ballerinalang.stdlib.task.utils.TaskIdGenerator
 
TaskJob - Class in org.ballerinalang.stdlib.task.utils
Represents a Quartz job related to an appointment.
TaskJob() - Constructor for class org.ballerinalang.stdlib.task.utils.TaskJob
 
TaskServerConnector - Interface in org.ballerinalang.stdlib.task.api
Task listener server connector.
TaskServerConnectorImpl - Class in org.ballerinalang.stdlib.task.impl
ballerina/task server connector implementation.
TaskServerConnectorImpl(Context, Task) - Constructor for class org.ballerinalang.stdlib.task.impl.TaskServerConnectorImpl
Constructor of the server connector.
Timer - Class in org.ballerinalang.stdlib.task.objects
Represents a Timer object used to create and run Timers.
Timer(long, long) - Constructor for class org.ballerinalang.stdlib.task.objects.Timer
Creates a Timer object.
Timer(long, long, long) - Constructor for class org.ballerinalang.stdlib.task.objects.Timer
Creates a Timer object with limited number of running times.

U

Utils - Class in org.ballerinalang.stdlib.task.utils
Utility functions used in ballerina task module.
Utils() - Constructor for class org.ballerinalang.stdlib.task.utils.Utils
 

V

validateService(Service) - Static method in class org.ballerinalang.stdlib.task.utils.Utils
 
A D E F G I M N O P Q R S T U V 
Skip navigation links

Copyright © 2019 WSO2. All rights reserved.