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

sirius.biz.jobs.params.StringParameterHandler Maven / Gradle / Ivy

There is a newer version: 9.6
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.biz.jobs.params;

import sirius.biz.jobs.ParameterHandler;
import sirius.kernel.commons.Value;
import sirius.kernel.di.std.Register;

import javax.annotation.Nonnull;

@Register
public class StringParameterHandler implements ParameterHandler {

    @Override
    public Object convert(Value value) {
        return value.getString();
    }

    @Nonnull
    @Override
    public String getName() {
        return "string";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy