org.activemq.openwire.tool
Class OpenWireScript
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.codehaus.gram.GramSupport
org.activemq.openwire.tool.OpenWireScript
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public abstract class OpenWireScript
- extends org.codehaus.gram.GramSupport
- Version:
- $Revision: 1.1 $
Method Summary |
Object |
createTestValue(org.codehaus.jam.JClass packetType,
org.codehaus.jam.JProperty property)
Creates a new test case value for the given named property. |
int |
getEnum(org.codehaus.jam.JClass type)
Returns the enum counter for the given type |
boolean |
isBodyType(org.codehaus.jam.JClass type,
org.codehaus.jam.JProperty property)
|
boolean |
isDestinationType(String type)
|
boolean |
isMessageType(org.codehaus.jam.JClass it)
Returns true if the given type is a valid message type |
boolean |
isPropertiesType(String type)
|
boolean |
isValidProperty(org.codehaus.jam.JProperty it)
|
Methods inherited from class org.codehaus.gram.GramSupport |
annotationValue, annotationValue, booleanValue, capitalize, decapitalize, intValue, stringValue, stringValue |
Methods inherited from class groovy.lang.Script |
evaluate, evaluate, getBinding, getProperty, invokeMethod, print, println, println, run, run, setBinding, setProperty |
Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, setMetaClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenWireScript
public OpenWireScript()
isMessageType
public boolean isMessageType(org.codehaus.jam.JClass it)
- Returns true if the given type is a valid message type
isBodyType
public boolean isBodyType(org.codehaus.jam.JClass type,
org.codehaus.jam.JProperty property)
createTestValue
public Object createTestValue(org.codehaus.jam.JClass packetType,
org.codehaus.jam.JProperty property)
- Creates a new test case value for the given named property.
- Returns:
isValidProperty
public boolean isValidProperty(org.codehaus.jam.JProperty it)
isPropertiesType
public boolean isPropertiesType(String type)
isDestinationType
public boolean isDestinationType(String type)
getEnum
public int getEnum(org.codehaus.jam.JClass type)
- Returns the enum counter for the given type
Copyright © 2004-2009 Protique, Ltd.. All Rights Reserved.