org.jbpm.designer.server
Class StencilSetExtensionGenerator
java.lang.Object
org.jbpm.designer.server.StencilSetExtensionGenerator
public class StencilSetExtensionGenerator
- extends Object
Copyright (c) 2008
SAP Research
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Portions of the code in this file have been developed by
Stefan Krumnow and Falko Menge at SAP Research Brisbane and
contributed to the Oryx project in October 2008 under the
terms of the MIT License.
Method Summary |
static String |
generateJsonForStencilSetExtension(String extensionName,
String extensionNamespace,
String extensionDescription,
String baseStencilSet,
String stencils)
|
static String |
generateStencilSetExtension(String extensionName,
List<Map<String,String>> stencilPropertyMatrix,
String[] propertyNames,
String baseStencilSet,
String baseStencil)
|
protected static String |
getStencilSetExtensionDescription(String extensionName)
|
protected static String |
getStencilSetExtensionNamespace(String extensionName)
|
static void |
registerStencilSetExtension(String name,
String namespace,
String description,
String location,
String baseStencilset)
|
static void |
saveStencilSetExtension(String extensionLocation,
String extension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_STENCIL_SET_EXTENSION_NAME_PREFIX
public static final String DEFAULT_STENCIL_SET_EXTENSION_NAME_PREFIX
- See Also:
- Constant Field Values
DEFAULT_BASE_STENCIL_SET_PATH
public static final String DEFAULT_BASE_STENCIL_SET_PATH
- See Also:
- Constant Field Values
DEFAULT_BASE_STENCIL_SET
public static final String DEFAULT_BASE_STENCIL_SET
- See Also:
- Constant Field Values
DEFAULT_BASE_STENCIL
public static final String DEFAULT_BASE_STENCIL
- See Also:
- Constant Field Values
StencilSetExtensionGenerator
public StencilSetExtensionGenerator()
generateStencilSetExtension
public static String generateStencilSetExtension(String extensionName,
List<Map<String,String>> stencilPropertyMatrix,
String[] propertyNames,
String baseStencilSet,
String baseStencil)
generateJsonForStencilSetExtension
public static String generateJsonForStencilSetExtension(String extensionName,
String extensionNamespace,
String extensionDescription,
String baseStencilSet,
String stencils)
getStencilSetExtensionDescription
protected static String getStencilSetExtensionDescription(String extensionName)
getStencilSetExtensionNamespace
protected static String getStencilSetExtensionNamespace(String extensionName)
saveStencilSetExtension
public static void saveStencilSetExtension(String extensionLocation,
String extension)
registerStencilSetExtension
public static void registerStencilSetExtension(String name,
String namespace,
String description,
String location,
String baseStencilset)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.