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

com.codetaco.argument.variables.NullAssigner Maven / Gradle / Ivy

There is a newer version: 5.0.3
Show newest version
package com.codetaco.argument.variables;

import java.text.ParseException;

import com.codetaco.argument.type.CmdLineCLA;
import com.codetaco.argument.type.ICmdLineArg;

/**
 * This class is intended to be distributed with the free android app. It will
 * be completely functional except for the assigned of the command line values
 * to variables. Nothing gets assigned. When the user pays for the app, the jar
 * with the real variable assigned will be in it.
 *
 * @author Chris DeGreef [email protected]
 */
public class NullAssigner implements IVariableAssigner
{
    /** {@inheritDoc} */
    @Override
    public void assign(final ICmdLineArg arg, final Object target) throws ParseException
    {
        // intentionally left blank
    }

    /** {@inheritDoc} */
    @Override
    public Object newGroupVariable(final CmdLineCLA group, final Object target, final ICmdLineArg factoryValueArg)
            throws ParseException
    {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy