001/* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 */ 019package org.apache.commons.cli2.resource; 020 021public abstract class ResourceConstants { 022 public static final String CLASSVALIDATOR_BAD_CLASSNAME = "ClassValidator.bad.classname"; 023 public static final String CLASSVALIDATOR_CLASS_NOTFOUND = "ClassValidator.class.notfound"; 024 public static final String CLASSVALIDATOR_CLASS_ACCESS = "ClassValidator.class.access"; 025 public static final String CLASSVALIDATOR_CLASS_CREATE = "ClassValidator.class.create"; 026 public static final String DATEVALIDATOR_DATE_OUTOFRANGE = "DateValidator.date.OutOfRange"; 027 public static final String URLVALIDATOR_MALFORMED_URL = "URLValidator.malformed.URL"; 028 public static final String NUMBERVALIDATOR_NUMBER_OUTOFRANGE = 029 "NumberValidator.number.OutOfRange"; 030 public static final String ARGUMENT_UNEXPECTED_VALUE = "Argument.unexpected.value"; 031 public static final String ARGUMENT_MIN_EXCEEDS_MAX = "Argument.minimum.exceeds.maximum"; 032 public static final String ARGUMENT_TOO_FEW_DEFAULTS = "Argument.too.few.defaults"; 033 public static final String ARGUMENT_TOO_MANY_DEFAULTS = "Argument.too.many.defaults"; 034 public static final String ARGUMENT_MISSING_VALUES = "Argument.missing.values"; 035 public static final String ARGUMENT_TOO_MANY_VALUES = "Argument.too.many.values"; 036 public static final String OPTION_TRIGGER_NEEDS_PREFIX = "Option.trigger.needs.prefix"; 037 public static final String OPTION_MISSING_REQUIRED = "Option.missing.required"; 038 public static final String OPTION_NO_NAME = "Option.no.name"; 039 public static final String OPTION_ILLEGAL_LONG_PREFIX = "Option.illegal.long.prefix"; 040 public static final String OPTION_ILLEGAL_SHORT_PREFIX = "Option.illegal.short.prefix"; 041 public static final String UNEXPECTED_TOKEN = "Unexpected.token"; 042 public static final String MISSING_OPTION = "Missing.option"; 043 public static final String CANNOT_BURST = "Cannot.burst"; 044 public static final String COMMAND_PREFERRED_NAME_TOO_SHORT = "Command.preferredName.too.short"; 045 public static final String SWITCH_ILLEGAL_ENABLED_PREFIX = "Option.illegal.enabled.prefix"; 046 public static final String SWITCH_ILLEGAL_DISABLED_PREFIX = "Option.illegal.disabled.prefix"; 047 public static final String SWITCH_IDENTICAL_PREFIXES = "Option.identical.prefixes"; 048 public static final String SWITCH_ALREADY_SET = "Switch.already.set"; 049 public static final String SWITCH_NO_ENABLED_PREFIX = "Switch.no.enabledPrefix"; 050 public static final String SWITCH_NO_DISABLED_PREFIX = "Switch.no.disabledPrefix"; 051 public static final String SWITCH_ENABLED_STARTS_WITH_DISABLED = 052 "Switch.enabled.startsWith.disabled"; 053 public static final String SWITCH_DISABLED_STARTWS_WITH_ENABLED = 054 "Switch.disabled.startsWith.enabled"; 055 public static final String SWITCH_PREFERRED_NAME_TOO_SHORT = "Switch.preferredName.too.short"; 056 public static final String SOURCE_DEST_MUST_ENFORCE_VALUES = "SourceDest.must.enforce.values"; 057 public static final String HELPFORMATTER_GUTTER_TOO_LONG = "HelpFormatter.gutter.too.long"; 058 public static final String HELPFORMATTER_WIDTH_TOO_NARROW = "HelpFormatter.width.too.narrow"; 059 public static final String ENUM_ILLEGAL_VALUE = "Enum.illegal.value"; 060 public static final String ARGUMENT_BUILDER_NULL_CONSUME_REMAINING = "ArgumentBuilder.null.consume.remaining"; 061 public static final String ARGUMENT_BUILDER_EMPTY_CONSUME_REMAINING = "ArgumentBuilder.empty.consume.remaining"; 062 public static final String ARGUMENT_BUILDER_NULL_DEFAULT = "ArgumentBuilder.null.default"; 063 public static final String ARGUMENT_BUILDER_NULL_DEFAULTS = "ArgumentBuilder.null.defaults"; 064 public static final String ARGUMENT_BUILDER_NEGATIVE_MAXIMUM = "ArgumentBuilder.negative.maximum"; 065 public static final String ARGUMENT_BUILDER_NEGATIVE_MINIMUM = "ArgumentBuilder.negative.minimum"; 066 public static final String ARGUMENT_BUILDER_NULL_NAME = "ArgumentBuilder.null.name"; 067 public static final String ARGUMENT_BUILDER_EMPTY_NAME = "ArgumentBuilder.empty.name"; 068 public static final String ARGUMENT_BUILDER_NULL_VALIDATOR = "ArgumentBuilder.null.validator"; 069 070}