Created
September 9, 2013 14:33
-
-
Save gastaldi/6496448 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * This interface should be implemented by {@link Facet}s that supports configuration descriptors | |
| * | |
| * @author <a href="ggastald@redhat.com">George Gastaldi</a> | |
| */ | |
| public interface HasDescriptor<DESC extends Descriptor> | |
| { | |
| /** | |
| * Return the {@link Descriptor} of the specification for which this facet represents. | |
| */ | |
| DESC getConfig(); | |
| /** | |
| * Returns the {@link FileResource} of | |
| * | |
| * @return | |
| */ | |
| FileResource<?> getConfigFile(); | |
| /** | |
| * Persists the current {@link Descriptor} | |
| */ | |
| void saveConfig(DESC descriptor); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment