com.codetaco.cli.impl.variables.NullAssigner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cli Show documentation
Show all versions of cli Show documentation
A command line parser for Java
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;
}
}