All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.honoriuss.blossom.BlossomAppContextHandlerImpl Maven / Gradle / Ivy

There is a newer version: 0.2.6
Show newest version
package io.github.honoriuss.blossom;

import io.github.honoriuss.blossom.annotations.AppContext;
import io.github.honoriuss.blossom.interfaces.ITrackingAppContextHandler;

import java.util.ArrayList;

class BlossomAppContextHandlerImpl implements ITrackingAppContextHandler {

    @Override
    public void addAppContext(ArrayList args, ArrayList parameterNames, AppContext appContext) {
        if (appContext == null) {
            return;
        }
        args.add(appContext.app());
        parameterNames.add(appContext.appKey());
    }
}