public class NewAction extends Object implements org.apache.karaf.shell.api.action.Action
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.karaf.shell.support.converter.DefaultConverter |
converter |
| Constructor and Description |
|---|
NewAction() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convert(Object obj,
org.apache.karaf.shell.support.converter.ReifiedType type) |
protected Object |
convert(Object obj,
Type type) |
Object |
execute() |
static Throwable |
getRealCause(Throwable t) |
static boolean |
isAssignable(Object source,
org.apache.karaf.shell.support.converter.ReifiedType target) |
protected org.apache.karaf.shell.support.converter.DefaultConverter converter
public Object execute() throws Exception
execute in interface org.apache.karaf.shell.api.action.ActionExceptionprotected Object convert(Object obj, org.apache.karaf.shell.support.converter.ReifiedType type) throws Exception
Exceptionpublic static boolean isAssignable(Object source, org.apache.karaf.shell.support.converter.ReifiedType target)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.