* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.onap.usecaseui.intentanalysis.intentAnalysisService;
+package org.onap.usecaseui.intentanalysis.CLLBusinessService;
import lombok.Data;
-import org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl.ActuationModuleImpl;
-import org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl.DecisoinModuleImpl;
-import org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl.KnownledgeModuleImpl;
+import org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl.ActuationModuleImpl;
+import org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl.DecisoinModuleImpl;
+import org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl.KnownledgeModuleImpl;
import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule;
import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule;
import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule;
-import org.onap.usecaseui.intentanalysis.intentProcessService.Function;
+import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction;
@Data
-public class IntentAnalysisManagementFunction extends Function {
+public class CLLBusinessIntentManagementFunction extends IntentAnalysisFunction {
private ActuationModule actuationModule = new ActuationModuleImpl();
private DecisionModule decisoinModule = new DecisoinModuleImpl();
private KnowledgeModule knowledgeModule = new KnownledgeModuleImpl();
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl;
+package org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl;
import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule;
-import org.onap.usecaseui.intentanalysis.intentProcessService.Function;
+import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction;
import org.onap.usecaseui.intentanalysis.intentProcessService.IntentProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
IntentProcessService processService;
@Override
- public void sendToIntentHandler(Function intentHandler) {
+ public void sendToIntentHandler(IntentAnalysisFunction intentHandler) {
processService.setIntentRole(intentHandler, null);
processService.intentProcess();
}
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl;
+package org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl;
import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule;
-import org.onap.usecaseui.intentanalysis.intentProcessService.Function;
+import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction;
import org.springframework.stereotype.Service;
@Service
public void determineUltimateGoal() {}
@Override
- public Function exploreIntentHandlers() {
+ public IntentAnalysisFunction exploreIntentHandlers() {
return null;
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl;
+package org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl;
import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule;
import org.springframework.stereotype.Service;
*/
package org.onap.usecaseui.intentanalysis.intentModule;
-import org.onap.usecaseui.intentanalysis.intentProcessService.Function;
+import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction;
public interface ActuationModule {
//actuationModel & knownledgeModel interact
- void sendToIntentHandler(Function IntentHandler);
+ void sendToIntentHandler(IntentAnalysisFunction IntentHandler);
void sendToNonIntentHandler();//直接操作
void interactWithIntentHandle();
//Save intent information to the intent instance database
package org.onap.usecaseui.intentanalysis.intentModule;
-import org.onap.usecaseui.intentanalysis.intentProcessService.Function;
+import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction;
public interface DecisionModule {
void determineUltimateGoal();//
- Function exploreIntentHandlers();
+ IntentAnalysisFunction exploreIntentHandlers();
void intentDefinition();
void decideSuitableAction();
import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule;
@Data
-public class Function {
+public class IntentAnalysisFunction {
private ActuationModule actuationModule;
private DecisionModule decisionModule;
private KnowledgeModule knowledgeModule;
@Service
public class IntentDefinitionService {
- private Function intentHandler;
- private Function intentOwner;
+ private IntentAnalysisFunction intentHandler;
+ private IntentAnalysisFunction intentOwner;
- public void setIntentRole(Function intentOwner, Function intentHandler) {
+ public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler) {
if (intentOwner != null) {
this.intentOwner = intentOwner;
}
@Service
public class IntentDetectionService {
- private Function intentHandler;
- private Function intentOwner;
+ private IntentAnalysisFunction intentHandler;
+ private IntentAnalysisFunction intentOwner;
- public void setIntentRole(Function intentOwner,Function intentHandler){
+ public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){
if (intentOwner!= null){
this.intentOwner = intentOwner;
}
@Service
public class IntentDistributionService {
@Autowired
- private Function intentHandler;
- private Function intentOwner;
+ private IntentAnalysisFunction intentHandler;
+ private IntentAnalysisFunction intentOwner;
- public void setIntentRole(Function intentOwner,Function intentHandler){
+ public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){
if (intentOwner!= null){
this.intentOwner = intentOwner;
}
@Service
public class IntentInvestigationService {
- private Function intentHandler;
- private Function intentOwner;
+ private IntentAnalysisFunction intentHandler;
+ private IntentAnalysisFunction intentOwner;
- public void setIntentRole(Function intentOwner,Function intentHandler){
+ public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){
if (intentOwner!= null){
this.intentOwner = intentOwner;
}
@Service
public class IntentOperationService {
- private Function intentHandler;
- private Function intentOwner;
+ private IntentAnalysisFunction intentHandler;
+ private IntentAnalysisFunction intentOwner;
- public void setIntentRole(Function intentOwner,Function intentHandler){
+ public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){
if (intentOwner!= null){
this.intentOwner = intentOwner;
}
@Autowired
IntentOperationService intentOperationService;
- private Function intentOwner;
- private Function intentHandler;
+ private IntentAnalysisFunction intentOwner;
+ private IntentAnalysisFunction intentHandler;
- public void setIntentRole(Function intentOwner,Function intentHandler){
+ public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){
if (intentOwner!= null){
this.intentOwner = intentOwner;
}