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

com.codetaco.cli.impl.variables.NullAssigner Maven / Gradle / Ivy

The newest version!
package com.codetaco.cli.impl.variables;

import com.codetaco.cli.impl.type.CmdLineCLA;
import com.codetaco.cli.impl.type.ICmdLineArg;

import java.text.ParseException;

/**
 * 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 - 2024 Weber Informatics LLC | Privacy Policy