de.intarsys.tools.functor
Class ResultTools
java.lang.Object
de.intarsys.tools.functor.ResultTools
public class ResultTools
- extends Object
A tool class for handling "result" objects.
|
Method Summary |
static IArgs |
getPropertyDescriptor(IArgs args,
String name)
|
static EnumStyle |
getPropertyStyle(IArgs propertyDescriptor,
EnumStyle defaultValue)
|
static EnumStyle |
getPropertyStyle(IArgs args,
String name,
EnumStyle defaultValue)
|
static IArgs |
getResultDescriptor(IArgs args)
|
static EnumReturnMode |
getResultReturnMode(IArgs args)
|
static boolean |
isPropertyDisplay(IArgs propertyDescriptor,
boolean defaultValue)
|
static boolean |
isPropertyDisplay(IArgs args,
String name,
boolean defaultValue)
|
static boolean |
isPropertyReturn(IArgs propertyDescriptor,
boolean defaultValue)
|
static boolean |
isPropertyReturn(IArgs args,
String name,
boolean defaultValue)
|
ARG_RESULT
public static final String ARG_RESULT
- See Also:
- Constant Field Values
ARG_RESULT_RETURN
public static final String ARG_RESULT_RETURN
- See Also:
- Constant Field Values
ARG_RESULT_PROPERTY
public static final String ARG_RESULT_PROPERTY
- See Also:
- Constant Field Values
PROP_STYLE
public static final String PROP_STYLE
- See Also:
- Constant Field Values
PROP_RETURN
public static final String PROP_RETURN
- See Also:
- Constant Field Values
PROP_DISPLAY
public static final String PROP_DISPLAY
- See Also:
- Constant Field Values
ResultTools
public ResultTools()
getPropertyDescriptor
public static IArgs getPropertyDescriptor(IArgs args,
String name)
getPropertyStyle
public static EnumStyle getPropertyStyle(IArgs propertyDescriptor,
EnumStyle defaultValue)
getPropertyStyle
public static EnumStyle getPropertyStyle(IArgs args,
String name,
EnumStyle defaultValue)
getResultDescriptor
public static IArgs getResultDescriptor(IArgs args)
getResultReturnMode
public static EnumReturnMode getResultReturnMode(IArgs args)
isPropertyDisplay
public static boolean isPropertyDisplay(IArgs propertyDescriptor,
boolean defaultValue)
isPropertyDisplay
public static boolean isPropertyDisplay(IArgs args,
String name,
boolean defaultValue)
isPropertyReturn
public static boolean isPropertyReturn(IArgs propertyDescriptor,
boolean defaultValue)
isPropertyReturn
public static boolean isPropertyReturn(IArgs args,
String name,
boolean defaultValue)
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.