org.springframework.contributions.util.Orderable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-contributions Show documentation
Show all versions of spring-contributions Show documentation
This project adds a so called contribution mechanism (like known from Tapestry IOC or Eclipse Plugins) for configuration and extension of services to the Spring project.
package org.springframework.contributions.util;
/**
* Interface for an object which can be ordered by the {@link Orderer}.
*
* @author Manfred Hantschel
*/
public interface Orderable
{
/**
* Returns the unique id of the entry. Must not contain ',' and must not start or end with white-spaces.
*
* @return the id
*/
String getOrderableId();
/**
* The constraints, may be null. The string must contain match following declaration:
*
*
* declaration = ('before:' | 'after:') reference {',' reference}.
*
*
* The reference may contain wildcards like '*' and '?', or, if prefixed and suffixed by '/' a regular expression.
* Direct references (without wildcards or regular expressions) are preferred.
*
* @return the constraints, may be null
*/
String[] getOrderableConstraints();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy