In package com.eden.orchid.api.tasks

@Singleton
public final class TaskServiceImpl extends Object implements TaskService, OrchidEventListener

since: v1.0.0 public final

Constructors

TaskServiceImpl(Set<E> tasks, Set<E> commands, String task, String resourcesDir, OrchidServer server, FileWatcher watcher) public
Constructor Annotations:
@Inject

Parameters:
  • Set tasks
  • Set commands
  • @Named(
        value="task")
    String task
  • @Named(
        value="resourcesDir")
    String resourcesDir
  • OrchidServer server
  • FileWatcher watcher

Methods

void initialize(OrchidContext context) public
Method Annotations:
@Override

Parameters:
void initOptions() public
Method Annotations:
@Override

void onPostStart() public
Method Annotations:
@Override

void runTask(String taskName) public
Method Annotations:
@Override

Parameters:
  • String taskName
void runCommand(String input) public
Method Annotations:
@Override

Parameters:
  • String input
void build() public
Method Annotations:
@Override

void watch() public
Method Annotations:
@Override

void serve() public
Method Annotations:
@Override

void deploy(boolean dryDeploy) public
Method Annotations:
@Override

Parameters:
  • dryDeploy
void onFilesChanges(Orchid.Lifecycle.FilesChanged event) public
Method Annotations:
@On(
    value=FilesChanged)

Parameters:
void onEndSession(Orchid.Lifecycle.EndSession event) public
Method Annotations:
@On(
    value=EndSession)

Parameters:
void onAnyEvent(OrchidEvent<T> event) public
Method Annotations:
@On(
    value=OrchidEvent,
    subclasses=true)

Parameters: