com.alachisoft.ncache.activate.cmdline.eval.EvalArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-activate Show documentation
Show all versions of nc-activate Show documentation
internal package of Alachisoft.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.alachisoft.ncache.activate.cmdline.eval;
import com.alachisoft.ncache.common.commandline.ArgumentAttributeAnnotation;
import com.alachisoft.ncache.common.commandline.CommandLineArgs;
/**
* @author Muneeb_Shahid
*/
public class EvalArgs extends CommandLineArgs {
private String extensionKey;
@ArgumentAttributeAnnotation(defaultValue = "", shortNotation = "-e", fullNotation = "--extensionkey", appendText = "")
public String getExtensionKey() {
return extensionKey;
}
@ArgumentAttributeAnnotation(defaultValue = "", shortNotation = "-e", fullNotation = "--extensionkey", appendText = "")
public void setExtensionKey(String extensionKey) {
this.extensionKey = extensionKey;
}
@Override
public void printUsage() {
StringBuilder usageBuilder = new StringBuilder();
usageBuilder.append("Usage: -e extensionkey [option[...]].").append("\n");
usageBuilder.append("Argument:").append("\n").append("\n");
usageBuilder.append(" ").append("-e: --extensionkey [extensionkey]").append("\n");
usageBuilder.append(" \t").append("Specify the extension key.").append("\n").append("\n");
System.out.print(usageBuilder.toString());
super.printUsage();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy