pkcwong / line-literal

3 stars 0 forks source link

Line Literal

Author: Christopher Wong

Issues and Project Management

Installation

This section describes the deployment procedure.

Create a Service module

This section describes the procedure on creating new processing logic.

public class SampleService extends DefaultService {
    public SampleService(Service service) {
        super(service);
    }
    @Override
    public void payload() throws Exception {
        // payload
    }
    @Override
    public Service chain() throws Exception {
        // chaining
    }
}

Payload

The payload method implements the processing service of the module. The method should alter contents in data member this.fulfillment. Additional resolved parameters may also be read and written through methods getParams and setParams.

Chaining

The chain method passes the current state to the next processing module. To pass to the next Service module, return Service.resolve().get(). To end the processing chain, return this.

Public account