org.jbpm.integration.console.shared
Class GuvnorConnectionUtils

java.lang.Object
  extended by org.jbpm.integration.console.shared.GuvnorConnectionUtils

public class GuvnorConnectionUtils
extends Object


Field Summary
static String EXT_BPMN
           
static String EXT_BPMN2
           
static String GUVNOR_CONNECTTIMEOUT_KEY
           
static String GUVNOR_HOST_KEY
           
static String GUVNOR_PACKAGES_KEY
           
static String GUVNOR_PROTOCOL_KEY
           
static String GUVNOR_PWD_KEY
           
static String GUVNOR_READTIMEOUT_KEY
           
static String GUVNOR_SUBDOMAIN_KEY
           
static String GUVNOR_USR_KEY
           
 
Constructor Summary
GuvnorConnectionUtils()
           
 
Method Summary
 StringReader createChangeSet()
           
 List<String> getAllProcessesInPackage(String pkgName)
           
 InputStream getFormTemplateFromGuvnor(String templateName)
           
 String getFormTemplateURLFromGuvnor(String templateName)
           
 String getGuvnorConnectTimeout()
           
 String getGuvnorHost()
           
 String getGuvnorPackages()
           
 String getGuvnorProtocol()
           
 String getGuvnorPwd()
           
 String getGuvnorReadTimeout()
           
 String getGuvnorSubdomain()
           
 String getGuvnorUsr()
           
 List<String> getPackageNames()
           
 byte[] getProcessImageFromGuvnor(String processId)
           
 String getProcessImageURLFromGuvnor(String processId)
           
 boolean guvnorExists()
           
 boolean templateExistsInRepo(String templateName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUVNOR_PROTOCOL_KEY

public static final String GUVNOR_PROTOCOL_KEY
See Also:
Constant Field Values

GUVNOR_HOST_KEY

public static final String GUVNOR_HOST_KEY
See Also:
Constant Field Values

GUVNOR_USR_KEY

public static final String GUVNOR_USR_KEY
See Also:
Constant Field Values

GUVNOR_PWD_KEY

public static final String GUVNOR_PWD_KEY
See Also:
Constant Field Values

GUVNOR_PACKAGES_KEY

public static final String GUVNOR_PACKAGES_KEY
See Also:
Constant Field Values

GUVNOR_SUBDOMAIN_KEY

public static final String GUVNOR_SUBDOMAIN_KEY
See Also:
Constant Field Values

GUVNOR_CONNECTTIMEOUT_KEY

public static final String GUVNOR_CONNECTTIMEOUT_KEY
See Also:
Constant Field Values

GUVNOR_READTIMEOUT_KEY

public static final String GUVNOR_READTIMEOUT_KEY
See Also:
Constant Field Values

EXT_BPMN

public static final String EXT_BPMN
See Also:
Constant Field Values

EXT_BPMN2

public static final String EXT_BPMN2
See Also:
Constant Field Values
Constructor Detail

GuvnorConnectionUtils

public GuvnorConnectionUtils()
Method Detail

getProcessImageURLFromGuvnor

public String getProcessImageURLFromGuvnor(String processId)

getFormTemplateURLFromGuvnor

public String getFormTemplateURLFromGuvnor(String templateName)

getFormTemplateFromGuvnor

public InputStream getFormTemplateFromGuvnor(String templateName)

getProcessImageFromGuvnor

public byte[] getProcessImageFromGuvnor(String processId)

getAllProcessesInPackage

public List<String> getAllProcessesInPackage(String pkgName)

getPackageNames

public List<String> getPackageNames()

createChangeSet

public StringReader createChangeSet()

getGuvnorProtocol

public String getGuvnorProtocol()

getGuvnorHost

public String getGuvnorHost()

getGuvnorSubdomain

public String getGuvnorSubdomain()

getGuvnorUsr

public String getGuvnorUsr()

getGuvnorPwd

public String getGuvnorPwd()

getGuvnorPackages

public String getGuvnorPackages()

getGuvnorConnectTimeout

public String getGuvnorConnectTimeout()

getGuvnorReadTimeout

public String getGuvnorReadTimeout()

templateExistsInRepo

public boolean templateExistsInRepo(String templateName)
                             throws Exception
Throws:
Exception

guvnorExists

public boolean guvnorExists()


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