org.drools.kproject
Class KBaseImpl
java.lang.Object
org.drools.kproject.KBaseImpl
- All Implemented Interfaces:
- KBase
public class KBaseImpl
- extends Object
- implements KBase
KBaseImpl
public KBaseImpl(KProjectImpl kProject,
String namespace,
String name)
getKProject
public KProjectImpl getKProject()
setKProject
public void setKProject(KProject kProject)
getKSessions
public Map<String,KSession> getKSessions()
- Specified by:
getKSessions
in interface KBase
newKSession
public KSession newKSession(String namespace,
String name)
- Specified by:
newKSession
in interface KBase
removeKSession
public KBase removeKSession(String qName)
- Specified by:
removeKSession
in interface KBase
moveKSession
public void moveKSession(String oldQName,
String newQName)
getListener
public PropertyChangeListener getListener()
- Specified by:
getListener
in interface KBase
setListener
public KBase setListener(PropertyChangeListener listener)
- Specified by:
setListener
in interface KBase
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interface KBase
setNamespace
public KBase setNamespace(String namespace)
- Specified by:
setNamespace
in interface KBase
getName
public String getName()
- Specified by:
getName
in interface KBase
setName
public KBase setName(String name)
- Specified by:
setName
in interface KBase
getQName
public String getQName()
- Specified by:
getQName
in interface KBase
getIncludes
public Set<String> getIncludes()
- Specified by:
getIncludes
in interface KBase
addInclude
public KBase addInclude(String kBaseQName)
- Specified by:
addInclude
in interface KBase
removeInclude
public KBase removeInclude(String kBaseQName)
- Specified by:
removeInclude
in interface KBase
getFiles
public List<String> getFiles()
- Specified by:
getFiles
in interface KBase
setFiles
public KBase setFiles(List<String> files)
- Specified by:
setFiles
in interface KBase
getEqualsBehavior
public org.drools.conf.AssertBehaviorOption getEqualsBehavior()
- Specified by:
getEqualsBehavior
in interface KBase
setEqualsBehavior
public KBase setEqualsBehavior(org.drools.conf.AssertBehaviorOption equalsBehaviour)
- Specified by:
setEqualsBehavior
in interface KBase
getEventProcessingMode
public org.drools.conf.EventProcessingOption getEventProcessingMode()
- Specified by:
getEventProcessingMode
in interface KBase
setEventProcessingMode
public KBase setEventProcessingMode(org.drools.conf.EventProcessingOption eventProcessingMode)
- Specified by:
setEventProcessingMode
in interface KBase
getAnnotations
public List<String> getAnnotations()
- Specified by:
getAnnotations
in interface KBase
setAnnotations
public KBase setAnnotations(List<String> annotations)
- Specified by:
setAnnotations
in interface KBase
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.