File tree Expand file tree Collapse file tree
org/scijava/ops/engine/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 provides org .scijava .ops .api .OpInfoGenerator with
7171 org .scijava .ops .engine .impl .OpClassBasedClassOpInfoGenerator ,
7272 org .scijava .ops .engine .impl .OpCollectionInfoGenerator ,
73- org .scijava .ops .engine .impl .PluginBasedClassOpInfoGenerator ,
7473 org .scijava .ops .engine .impl .TherapiOpInfoGenerator ;
7574
7675 provides org .scijava .ops .api .OpWrapper with
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ module org.scijava.ops.engine {
6060 provides org.scijava.ops.api.OpInfoGenerator with
6161 org.scijava.ops.engine.impl.OpClassBasedClassOpInfoGenerator,
6262 org.scijava.ops.engine.impl.OpCollectionInfoGenerator,
63- org.scijava.ops.engine.impl.PluginBasedClassOpInfoGenerator,
6463 org.scijava.ops.engine.impl.TherapiOpInfoGenerator;
6564
6665 provides org.scijava.ops.api.OpWrapper with
Original file line number Diff line number Diff line change 108108 </properties >
109109 <dependencies >
110110 <!-- SciJava dependencies -->
111- <dependency >
112- <groupId >org.scijava</groupId >
113- <artifactId >scijava-common</artifactId >
114- </dependency >
115111
116112 <!-- Test scope dependencies -->
117113 </dependencies >
Original file line number Diff line number Diff line change 22
33 exports org .scijava .ops .spi ;
44
5- requires org .scijava ;
6-
75}
Original file line number Diff line number Diff line change 11package org .scijava .ops .spi ;
22
3- import org .scijava .plugin .SciJavaPlugin ;
4-
5- public interface Op extends SciJavaPlugin {
3+ /**
4+ * TODO: What is an Op?
5+ */
6+ public interface Op {
67 // Marker interface.
78}
Original file line number Diff line number Diff line change 55import java .lang .annotation .RetentionPolicy ;
66import java .lang .annotation .Target ;
77
8- import org .scijava .Priority ;
9-
108/** Annotates an Op declared as a field in an {@link OpCollection}. */
119@ Retention (RetentionPolicy .RUNTIME )
1210@ Target (ElementType .TYPE )
1816 // to help().
1917 String [] params () default "" ;
2018
21- double priority () default Priority .NORMAL ;
19+ /**
20+ * Returns the priority of this Op
21+ *
22+ * By default, Ops have a priority of 0.0 (corresponding to
23+ * org.scijava.priority.Priority.NORMAL
24+ *
25+ * @return the priority of the Op
26+ */
27+ double priority () default 0.0 ;
2228
2329}
Original file line number Diff line number Diff line change 11package org .scijava .ops .spi ;
22
3- import org .scijava .plugin .SciJavaPlugin ;
4-
5- /** A plugin marking a collection of ops defined as instance fields. */
6- public interface OpCollection extends SciJavaPlugin {
3+ /** An interface marking a collection of ops defined as instance fields. */
4+ public interface OpCollection {
75 // Marker interface.
86}
Original file line number Diff line number Diff line change 55import java .lang .annotation .RetentionPolicy ;
66import java .lang .annotation .Target ;
77
8- import org .scijava .Priority ;
9-
108/** Annotates an Op declared as a field in an {@link OpCollection}. */
119@ Retention (RetentionPolicy .RUNTIME )
1210@ Target (ElementType .FIELD )
1917 //TODO: add default names support in OpFieldInfo
2018 String [] params () default "" ;
2119
22- double priority () default Priority .NORMAL ;
20+ /**
21+ * Returns the priority of this Op
22+ *
23+ * By default, Ops have a priority of 0.0 (corresponding to
24+ * org.scijava.priority.Priority.NORMAL
25+ *
26+ * @return the priority of the Op
27+ */
28+ double priority () default 0.0 ;
2329
2430}
Original file line number Diff line number Diff line change 3535import java .lang .annotation .RetentionPolicy ;
3636import java .lang .annotation .Target ;
3737
38- import org .scijava .Priority ;
39-
4038/**
4139 * @author Marcel Wiedenmann
4240 */
4846
4947 Class <?> type ();
5048
51- double priority () default Priority .NORMAL ;
52-
53- }
49+ /**
50+ * Returns the priority of this Op
51+ *
52+ * By default, Ops have a priority of 0.0 (corresponding to
53+ * org.scijava.priority.Priority.NORMAL
54+ *
55+ * @return the priority of the Op
56+ */
57+ double priority () default 0.0 ;
58+
59+ }
You can’t perform that action at this time.
0 commit comments