Search in sources :

Example 1 with LogTarget

use of com.evolveum.midpoint.ninja.impl.LogTarget in project midpoint by Evolveum.

the class Action method init.

public void init(NinjaContext context, O options) {
    this.context = context;
    this.options = options;
    LogTarget target = getInfoLogTarget();
    log = new Log(target, this.context);
    this.context.setLog(log);
    ConnectionOptions connection = Objects.requireNonNull(NinjaUtils.getOptions(this.context.getJc(), ConnectionOptions.class));
    this.context.init(connection);
}
Also used : Log(com.evolveum.midpoint.ninja.util.Log) ConnectionOptions(com.evolveum.midpoint.ninja.opts.ConnectionOptions) LogTarget(com.evolveum.midpoint.ninja.impl.LogTarget)

Aggregations

LogTarget (com.evolveum.midpoint.ninja.impl.LogTarget)1 ConnectionOptions (com.evolveum.midpoint.ninja.opts.ConnectionOptions)1 Log (com.evolveum.midpoint.ninja.util.Log)1