org.drools.guvnor.server.ruleeditor.workitem
Class ConfigFileWorkDefinitionsLoader

java.lang.Object
  extended by org.drools.guvnor.server.ruleeditor.workitem.AbstractWorkDefinitionsLoader
      extended by org.drools.guvnor.server.ruleeditor.workitem.ConfigFileWorkDefinitionsLoader
All Implemented Interfaces:
WorkDefinitionsLoader

public class ConfigFileWorkDefinitionsLoader
extends AbstractWorkDefinitionsLoader

Class to load Work Definitions from configuration file 'workitem-definitions.xml'


Field Summary
 
Fields inherited from class org.drools.guvnor.server.ruleeditor.workitem.AbstractWorkDefinitionsLoader
NEW_LINE, workDefinitions
 
Method Summary
static ConfigFileWorkDefinitionsLoader getInstance()
           
 List<String> loadWorkDefinitions()
          Load the Work Definitions from whatever resource
 
Methods inherited from class org.drools.guvnor.server.ruleeditor.workitem.AbstractWorkDefinitionsLoader
getWorkDefinitions, populateWorkDefinitions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadWorkDefinitions

public List<String> loadWorkDefinitions()
                                 throws IOException
Description copied from class: AbstractWorkDefinitionsLoader
Load the Work Definitions from whatever resource

Specified by:
loadWorkDefinitions in class AbstractWorkDefinitionsLoader
Returns:
A List of Strings containing individual Work Definitions
Throws:
IOException

getInstance

public static ConfigFileWorkDefinitionsLoader getInstance()


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.