This repository has been archived by the owner on Jul 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
michael-conway
committed
May 31, 2016
1 parent
e57c3e0
commit 10e3bba
Showing
4 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 file contains 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
50 changes: 50 additions & 0 deletions
50
...api/src/main/java/org/iplantc/de/publish/mechanism/api/annotations/PublicationDriver.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/** | ||
* | ||
*/ | ||
package org.iplantc.de.publish.mechanism.api.annotations; | ||
|
||
import java.lang.annotation.Documented; | ||
|
||
/** | ||
* Annotation that marks up a publish mechanism for discovery | ||
* | ||
* @author Mike Conway - DICE | ||
* | ||
*/ | ||
@Documented | ||
public @interface PublicationDriver { | ||
/** | ||
* Author of the publisher plugin | ||
* | ||
* @return <code>String</code> with author | ||
*/ | ||
String author(); | ||
|
||
/** | ||
* Context-dependent version string | ||
* | ||
* @return <code>String</code> with version string | ||
*/ | ||
String version(); | ||
|
||
/** | ||
* Display name of the publisher driver | ||
* | ||
* @return <code>String</code> with the name of the driver | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* Description of the driver (for mouseovers or other user doc) | ||
* | ||
* @return <code>String</code> with the description of the driver | ||
*/ | ||
String description(); | ||
|
||
/** | ||
* Indicates if the publish action is asynchronous (through the app) | ||
* | ||
* @return | ||
*/ | ||
boolean isAsynch() default false; | ||
} |
6 changes: 6 additions & 0 deletions
6
...sher-api/src/main/java/org/iplantc/de/publish/mechanism/api/annotations/package-info.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** | ||
* Annotations for publisher | ||
* @author Mike Conway - DICE | ||
* | ||
*/ | ||
package org.iplantc.de.publish.mechanism.api.annotations; |