com.g2forge.gearbox.functional.control.Flag Maven / Gradle / Ivy
The newest version!
package com.g2forge.gearbox.functional.control;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Indicates a boolean argument, which when true
will result in the {@link #value()} being added to the command line.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface Flag {
public String value();
}