org.jbpm.integration.console.shared
Class GuvnorConnectionUtils
java.lang.Object
org.jbpm.integration.console.shared.GuvnorConnectionUtils
public class GuvnorConnectionUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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_PWD_ENC_KEY
public static final String GUVNOR_PWD_ENC_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
GUVNOR_SNAPSHOT_NAME
public static final String GUVNOR_SNAPSHOT_NAME
- 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
GuvnorConnectionUtils
public GuvnorConnectionUtils()
getGuvnorProtocol
public String getGuvnorProtocol()
getGuvnorHost
public String getGuvnorHost()
getGuvnorSubdomain
public String getGuvnorSubdomain()
getGuvnorUsr
public String getGuvnorUsr()
getGuvnorPwd
public String getGuvnorPwd()
getGuvnorPwdEnc
public String getGuvnorPwdEnc()
getGuvnorPackages
public String getGuvnorPackages()
getGuvnorConnectTimeout
public String getGuvnorConnectTimeout()
getGuvnorReadTimeout
public String getGuvnorReadTimeout()
getGuvnorSnapshotName
public String getGuvnorSnapshotName()
getGuvnorProperties
protected Properties getGuvnorProperties()
isEmpty
public boolean isEmpty(CharSequence str)
getProcessImageURLFromGuvnor
public String getProcessImageURLFromGuvnor(String processId)
getFormTemplateURLFromGuvnor
public String getFormTemplateURLFromGuvnor(String templateName)
getFormTemplateURLFromGuvnor
public String getFormTemplateURLFromGuvnor(String templateName,
String format)
getFormTemplateFromGuvnor
public InputStream getFormTemplateFromGuvnor(String templateName)
getProcessImageFromGuvnor
public byte[] getProcessImageFromGuvnor(String processId)
getAllProcessesInPackage
public List<String> getAllProcessesInPackage(String pkgName)
templateExistsInRepo
public boolean templateExistsInRepo(String templateName)
throws Exception
- Throws:
Exception
getPackagesFromGuvnor
public List<GuvnorPackage> getPackagesFromGuvnor()
filterPackagesByUserDefinedList
public List<GuvnorPackage> filterPackagesByUserDefinedList(List<GuvnorPackage> allPackages)
canBuildPackage
public boolean canBuildPackage(String packageName)
getBuiltPackageNames
public List<String> getBuiltPackageNames()
getBuiltPackages
public List<GuvnorPackage> getBuiltPackages()
applyAuth
protected void applyAuth(HttpURLConnection connection)
guvnorExists
public boolean guvnorExists()
createChangeSet
@Deprecated
public StringReader createChangeSet()
- Deprecated.
createChangeSet
public StringReader createChangeSet(List<String> packageNames)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.