@@ -0,0 +1,1664 @@
+package innovimax.mixthem.arguments;%0A%0Aimport java.io.File;%0A%0A/**%0A* %3Cp%3EThis is a detailed enumeration of additional rule parameters.%3C/p%3E%0A* @author Innovimax%0A* @version 1.0%0A*/%0Apublic enum RuleParam %7B %0A%09_SEED(%22seed%22, false, ParamType._INTEGER),%0A%09_COL1(%22col1%22, false, ParamType._STRING),%0A%09_COL2(%22col2%22, false, ParamType._STRING);%0A%0A%09private final String name;%0A%09private final boolean required;%0A%09private final ParamType type;%0A%0A%09private RuleParam(String name, boolean required, ParamType type) %7B%0A%09%09this.name = name;%0A%09%09this.required = required;%0A%09%09this.type = type;%0A%09%7D%0A%0A%09/**%0A%09* Returns the alias name of this parameter.%0A%09* @return The alias name of this parameter%0A%09*/%0A%09public String getName() %7B%0A%09%09return this.name;%0A%09%7D%0A%0A%09/**%0A%09* Returns true if the parameter is required.%0A%09* @return True if the parameter is required%0A%09*/%0A%09public boolean isRequired() %7B%0A%09%09return this.required;%0A%09%7D%0A%0A%09/**%0A%09* Returns the type of this parameter.%0A%09* @return The type of this parameter%0A%09*/%0A%09public ParamType getType() %7B%0A%09%09return this.type;%0A%09%7D%0A%0A%09/**%0A %09* Returns true if the parameter value is correct.%0A %09* @param value The value of the parameter on command line%0A %09* @return Returns true if the parameter value is correct%0A %09*/%0A%09boolean checkValue(String value) %7B%0A%09%09switch (this.type) %7B%0A        %09case _STRING:%0A    %09%09%09File file = new File(value);%0A        %09%09if (file.exists()) %7B%0A        %09%09%09return false;%0A        %09%09%7D else %7B%0A        %09%09%09return true;%0A        %09%09%7D%0A        %09case _INTEGER:%0A            %09try %7B%0A            %09%09Integer.parseInt(value);%0A            %09%09return true;%0A            %09%7D catch (Exception e) %7B%0A            %09%09return false;%0A            %09%7D%0A            default:%0A            %09return false;%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Relocate RuleParam.java