diff options
Diffstat (limited to 'intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/formatintentinputMgt/formatintentinputModule/FormatIntentInputKnowledgeModule.java')
-rw-r--r-- | intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/formatintentinputMgt/formatintentinputModule/FormatIntentInputKnowledgeModule.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/formatintentinputMgt/formatintentinputModule/FormatIntentInputKnowledgeModule.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/formatintentinputMgt/formatintentinputModule/FormatIntentInputKnowledgeModule.java index bf1a887..f846fcb 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/formatintentinputMgt/formatintentinputModule/FormatIntentInputKnowledgeModule.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/formatintentinputMgt/formatintentinputModule/FormatIntentInputKnowledgeModule.java @@ -15,7 +15,6 @@ */ package org.onap.usecaseui.intentanalysis.formatintentinputMgt.formatintentinputModule; -import org.onap.usecaseui.intentanalysis.bean.enums.IntentGoalType; import org.onap.usecaseui.intentanalysis.bean.models.Intent; import org.onap.usecaseui.intentanalysis.bean.models.IntentGoalBean; import org.onap.usecaseui.intentanalysis.intentBaseService.intentModule.KnowledgeModule; @@ -33,7 +32,6 @@ public class FormatIntentInputKnowledgeModule extends KnowledgeModule { @Override public IntentGoalBean intentCognition(Intent intent) { List<String> intendIdList = intentResolution(intent); - getSystemStatus(); return determineDetectionGoal(intent, intendIdList); } @@ -51,16 +49,4 @@ public class FormatIntentInputKnowledgeModule extends KnowledgeModule { public boolean recieveDeleteIntent() { return false; } - - public void getSystemStatus() { - } - - public IntentGoalBean determineDetectionGoal(Intent intent, List<String> intentIdList) { - int size = intentIdList.size(); - if (size == 0) { - return new IntentGoalBean(intent, IntentGoalType.CREATE); - } else { - return new IntentGoalBean(intent, IntentGoalType.UPDATE); - } - } } |