Coverage Summary for Class: ParameterInterface (org.kitodo.config.enums)
Class |
Class, %
|
Method, %
|
Line, %
|
ParameterInterface |
100%
(1/1)
|
100%
(1/1)
|
100%
(1/1)
|
/*
* (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
*
* This file is part of the Kitodo project.
*
* It is licensed under GNU General Public License version 3 or later.
*
* For the full copyright and license information, please read the
* GPL3-License.txt file that was distributed with this source code.
*/
package org.kitodo.config.enums;
public interface ParameterInterface {
/**
* Get name of parameter - derived from toString method. Every enum which
* implements this interface needs to overwrite toString() method.
*
* @return value of name
*/
default String getName() {
return this.toString();
}
}