com.github.fge.jsonschema.messages.ConfigurationMessages Maven / Gradle / Ivy
/*
* Copyright (c) 2013, Francis Galiegue
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Lesser GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Lesser GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.github.fge.jsonschema.messages;
/**
* Messages used by the configuration process
*/
//TODO: reorganize
public enum ConfigurationMessages
{
NULL_REPORT_PROVIDER("report provider must not be null"),
NULL_LOADING_CFG("loading configuration must not be null"),
NULL_VALIDATION_CFG("validation configuration must not be null"),
NULL_LIBRARY("library cannot be null"),
DUP_LIBRARY("a library already exists for this URI"),
NULL_VERSION("version cannot be null"),
NULL_INSTANCE("instance cannot be null"),
;
private final String message;
ConfigurationMessages(final String message)
{
this.message = message;
}
@Override
public String toString()
{
return message;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy