aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugins-executor
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2019-06-21 11:21:14 +0000
committera.sreekumar <ajith.sreekumar@est.tech>2019-06-21 11:21:14 +0000
commit5be846bcdbe6e9dfa3b81e4b95de37acea18d1a2 (patch)
tree596c0caffb095e693ac63267d8f804eb0b630196 /plugins/plugins-executor
parent3b7b20029b7b663506b7c918f333f09dd18d6452 (diff)
Replace uses of getCanonicalName() with getName() in APEX
Change-Id: Ifcd8866e65a7bc1238d5a4137f7bad288a5bfb3b Issue-ID: POLICY-1861 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'plugins/plugins-executor')
-rw-r--r--plugins/plugins-executor/plugins-executor-java/src/main/java/org/onap/policy/apex/plugins/executor/java/JavaExecutorParameters.java6
-rw-r--r--plugins/plugins-executor/plugins-executor-javascript/src/main/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorParameters.java6
-rw-r--r--plugins/plugins-executor/plugins-executor-jruby/src/main/java/org/onap/policy/apex/plugins/executor/jruby/JrubyExecutorParameters.java6
-rw-r--r--plugins/plugins-executor/plugins-executor-jython/src/main/java/org/onap/policy/apex/plugins/executor/jython/JythonExecutorParameters.java6
-rw-r--r--plugins/plugins-executor/plugins-executor-mvel/src/main/java/org/onap/policy/apex/plugins/executor/mvel/MvelExecutorParameters.java6
5 files changed, 15 insertions, 15 deletions
diff --git a/plugins/plugins-executor/plugins-executor-java/src/main/java/org/onap/policy/apex/plugins/executor/java/JavaExecutorParameters.java b/plugins/plugins-executor/plugins-executor-java/src/main/java/org/onap/policy/apex/plugins/executor/java/JavaExecutorParameters.java
index 64abeac47..ade35ced3 100644
--- a/plugins/plugins-executor/plugins-executor-java/src/main/java/org/onap/policy/apex/plugins/executor/java/JavaExecutorParameters.java
+++ b/plugins/plugins-executor/plugins-executor-java/src/main/java/org/onap/policy/apex/plugins/executor/java/JavaExecutorParameters.java
@@ -35,8 +35,8 @@ public class JavaExecutorParameters extends ExecutorParameters {
* Constructor that sets the abstract implementation classes.
*/
public JavaExecutorParameters() {
- this.setTaskExecutorPluginClass(JavaTaskExecutor.class.getCanonicalName());
- this.setTaskSelectionExecutorPluginClass(JavaTaskSelectExecutor.class.getCanonicalName());
- this.setStateFinalizerExecutorPluginClass(JavaStateFinalizerExecutor.class.getCanonicalName());
+ this.setTaskExecutorPluginClass(JavaTaskExecutor.class.getName());
+ this.setTaskSelectionExecutorPluginClass(JavaTaskSelectExecutor.class.getName());
+ this.setStateFinalizerExecutorPluginClass(JavaStateFinalizerExecutor.class.getName());
}
}
diff --git a/plugins/plugins-executor/plugins-executor-javascript/src/main/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorParameters.java b/plugins/plugins-executor/plugins-executor-javascript/src/main/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorParameters.java
index bbbea9308..75591aa83 100644
--- a/plugins/plugins-executor/plugins-executor-javascript/src/main/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorParameters.java
+++ b/plugins/plugins-executor/plugins-executor-javascript/src/main/java/org/onap/policy/apex/plugins/executor/javascript/JavascriptExecutorParameters.java
@@ -35,8 +35,8 @@ public class JavascriptExecutorParameters extends ExecutorParameters {
* Constructor that sets the abstract implementation classes.
*/
public JavascriptExecutorParameters() {
- this.setTaskExecutorPluginClass(JavascriptTaskExecutor.class.getCanonicalName());
- this.setTaskSelectionExecutorPluginClass(JavascriptTaskSelectExecutor.class.getCanonicalName());
- this.setStateFinalizerExecutorPluginClass(JavascriptStateFinalizerExecutor.class.getCanonicalName());
+ this.setTaskExecutorPluginClass(JavascriptTaskExecutor.class.getName());
+ this.setTaskSelectionExecutorPluginClass(JavascriptTaskSelectExecutor.class.getName());
+ this.setStateFinalizerExecutorPluginClass(JavascriptStateFinalizerExecutor.class.getName());
}
}
diff --git a/plugins/plugins-executor/plugins-executor-jruby/src/main/java/org/onap/policy/apex/plugins/executor/jruby/JrubyExecutorParameters.java b/plugins/plugins-executor/plugins-executor-jruby/src/main/java/org/onap/policy/apex/plugins/executor/jruby/JrubyExecutorParameters.java
index 0245cd80d..33d863632 100644
--- a/plugins/plugins-executor/plugins-executor-jruby/src/main/java/org/onap/policy/apex/plugins/executor/jruby/JrubyExecutorParameters.java
+++ b/plugins/plugins-executor/plugins-executor-jruby/src/main/java/org/onap/policy/apex/plugins/executor/jruby/JrubyExecutorParameters.java
@@ -35,8 +35,8 @@ public class JrubyExecutorParameters extends ExecutorParameters {
* Constructor that sets the abstract implementation classes.
*/
public JrubyExecutorParameters() {
- this.setTaskExecutorPluginClass(JrubyTaskExecutor.class.getCanonicalName());
- this.setTaskSelectionExecutorPluginClass(JrubyTaskSelectExecutor.class.getCanonicalName());
- this.setStateFinalizerExecutorPluginClass(JrubyStateFinalizerExecutor.class.getCanonicalName());
+ this.setTaskExecutorPluginClass(JrubyTaskExecutor.class.getName());
+ this.setTaskSelectionExecutorPluginClass(JrubyTaskSelectExecutor.class.getName());
+ this.setStateFinalizerExecutorPluginClass(JrubyStateFinalizerExecutor.class.getName());
}
}
diff --git a/plugins/plugins-executor/plugins-executor-jython/src/main/java/org/onap/policy/apex/plugins/executor/jython/JythonExecutorParameters.java b/plugins/plugins-executor/plugins-executor-jython/src/main/java/org/onap/policy/apex/plugins/executor/jython/JythonExecutorParameters.java
index 7a22013f1..e861a1071 100644
--- a/plugins/plugins-executor/plugins-executor-jython/src/main/java/org/onap/policy/apex/plugins/executor/jython/JythonExecutorParameters.java
+++ b/plugins/plugins-executor/plugins-executor-jython/src/main/java/org/onap/policy/apex/plugins/executor/jython/JythonExecutorParameters.java
@@ -35,8 +35,8 @@ public class JythonExecutorParameters extends ExecutorParameters {
* Constructor that sets the abstract implementation classes.
*/
public JythonExecutorParameters() {
- this.setTaskExecutorPluginClass(JythonTaskExecutor.class.getCanonicalName());
- this.setTaskSelectionExecutorPluginClass(JythonTaskSelectExecutor.class.getCanonicalName());
- this.setStateFinalizerExecutorPluginClass(JythonStateFinalizerExecutor.class.getCanonicalName());
+ this.setTaskExecutorPluginClass(JythonTaskExecutor.class.getName());
+ this.setTaskSelectionExecutorPluginClass(JythonTaskSelectExecutor.class.getName());
+ this.setStateFinalizerExecutorPluginClass(JythonStateFinalizerExecutor.class.getName());
}
}
diff --git a/plugins/plugins-executor/plugins-executor-mvel/src/main/java/org/onap/policy/apex/plugins/executor/mvel/MvelExecutorParameters.java b/plugins/plugins-executor/plugins-executor-mvel/src/main/java/org/onap/policy/apex/plugins/executor/mvel/MvelExecutorParameters.java
index 7b57ad446..241d75702 100644
--- a/plugins/plugins-executor/plugins-executor-mvel/src/main/java/org/onap/policy/apex/plugins/executor/mvel/MvelExecutorParameters.java
+++ b/plugins/plugins-executor/plugins-executor-mvel/src/main/java/org/onap/policy/apex/plugins/executor/mvel/MvelExecutorParameters.java
@@ -35,8 +35,8 @@ public class MvelExecutorParameters extends ExecutorParameters {
* Constructor that sets the abstract implementation classes.
*/
public MvelExecutorParameters() {
- this.setTaskExecutorPluginClass(MvelTaskExecutor.class.getCanonicalName());
- this.setTaskSelectionExecutorPluginClass(MvelTaskSelectExecutor.class.getCanonicalName());
- this.setStateFinalizerExecutorPluginClass(MvelStateFinalizerExecutor.class.getCanonicalName());
+ this.setTaskExecutorPluginClass(MvelTaskExecutor.class.getName());
+ this.setTaskSelectionExecutorPluginClass(MvelTaskSelectExecutor.class.getName());
+ this.setStateFinalizerExecutorPluginClass(MvelStateFinalizerExecutor.class.getName());
}
}