JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
V
W
A
Actuals
- Class in
net.oneandone.inline.internal
Maps formals to actuals
Actuals(Map<String, String>)
- Constructor for class net.oneandone.inline.internal.
Actuals
add(Object, String)
- Method in class net.oneandone.inline.
Cli
add(Argument, String)
- Method in class net.oneandone.inline.internal.
Actuals
addArgument(Argument)
- Method in class net.oneandone.inline.internal.
ContextBuilder
addDefault(Object, String)
- Method in class net.oneandone.inline.
Cli
addField(String, Class<?>, String)
- Method in class net.oneandone.inline.internal.
Mapping
addMethod(String, Class<?>, String)
- Method in class net.oneandone.inline.internal.
Mapping
Argument
- Class in
net.oneandone.inline.internal
Associates a source with a target.
Argument(Context, Source, Target)
- Constructor for class net.oneandone.inline.internal.
Argument
ArgumentException
- Exception in
net.oneandone.inline
Indicates a problem with the arguments supplied.
ArgumentException(String)
- Constructor for exception net.oneandone.inline.
ArgumentException
ArgumentException(String, Throwable)
- Constructor for exception net.oneandone.inline.
ArgumentException
arguments()
- Method in class net.oneandone.inline.internal.
ContextFactory
B
Base
- Class in
net.oneandone.inline
Base(Base, String, String)
- Constructor for class net.oneandone.inline.
Base
base(Class<?>, String)
- Method in class net.oneandone.inline.
Cli
before()
- Method in class net.oneandone.inline.internal.
Target
return true to set pass values before command object instantiation
before()
- Method in class net.oneandone.inline.internal.
TargetField
before()
- Method in class net.oneandone.inline.internal.
TargetMethod
before()
- Method in class net.oneandone.inline.internal.
TargetMethodIterated
before()
- Method in class net.oneandone.inline.internal.
TargetParameter
begin(Object)
- Method in class net.oneandone.inline.
Cli
begin(Object, String)
- Method in class net.oneandone.inline.
Cli
begin(String, Object, String)
- Method in class net.oneandone.inline.
Cli
C
checkCardinality(int)
- Method in class net.oneandone.inline.internal.
Source
ClassHandle(Class<?>)
- Constructor for class net.oneandone.inline.internal.
Handle.ClassHandle
clazz()
- Method in class net.oneandone.inline.internal.
Handle.ClassHandle
clazz()
- Method in class net.oneandone.inline.internal.
Handle
clazz()
- Method in class net.oneandone.inline.internal.
Handle.FactoryHandle
clazz()
- Method in class net.oneandone.inline.internal.
Handle.InstanceHandle
Cli
- Class in
net.oneandone.inline
A command line interface.
Cli()
- Constructor for class net.oneandone.inline.
Cli
Cli(Function<Throwable, Integer>)
- Constructor for class net.oneandone.inline.
Cli
Cli(Repository, Function<Throwable, Integer>)
- Constructor for class net.oneandone.inline.
Cli
close()
- Method in class net.oneandone.inline.util.
SwitchableWriter
Command
- Class in
net.oneandone.inline.internal
Command(ContextBuilder, String, Method)
- Constructor for class net.oneandone.inline.internal.
Command
command(String)
- Method in class net.oneandone.inline.internal.
Mapping
commands
- Variable in class net.oneandone.inline.
Cli
compile(Repository)
- Method in class net.oneandone.inline.internal.
Context
compile(Context, Repository, List<Source>)
- Method in class net.oneandone.inline.internal.
Handle.ClassHandle
compile(Context, Repository, List<Source>)
- Method in class net.oneandone.inline.internal.
Handle
compile(Context, Repository, List<Source>)
- Method in class net.oneandone.inline.internal.
Handle.FactoryHandle
compile(Context, Repository, List<Source>)
- Method in class net.oneandone.inline.internal.
Handle.InstanceHandle
Console
- Class in
net.oneandone.inline
Configurable replacement for System.out, System.err and System.in.
Console(PrintWriter, PrintWriter, InputStream)
- Constructor for class net.oneandone.inline.
Console
ConstructorContextFactory(Constructor<?>, Object[], List<Argument>)
- Constructor for class net.oneandone.inline.internal.
Handle.ConstructorContextFactory
contains(String)
- Method in class net.oneandone.inline.internal.
Mapping
context
- Variable in class net.oneandone.inline.internal.
Argument
Context
- Class in
net.oneandone.inline.internal
Defines how to create an context object.
Context(Context, String, Handle, List<Source>, Mapping)
- Constructor for class net.oneandone.inline.internal.
Context
ContextBuilder
- Class in
net.oneandone.inline.internal
Factory for properly initialized the context object
ContextBuilder(Context, ContextBuilder, ContextFactory)
- Constructor for class net.oneandone.inline.internal.
ContextBuilder
ContextFactory
- Class in
net.oneandone.inline.internal
ContextFactory(List<Argument>)
- Constructor for class net.oneandone.inline.internal.
ContextFactory
create(Base, Class<?>, String)
- Static method in class net.oneandone.inline.
Base
create(String)
- Static method in class net.oneandone.inline.
Cli
create()
- Static method in class net.oneandone.inline.
Console
create(ContextBuilder, String, Method)
- Static method in class net.oneandone.inline.internal.
Command
create(Context, Base, String, Handle, String)
- Static method in class net.oneandone.inline.internal.
Context
create(Context, Object)
- Static method in class net.oneandone.inline.internal.
Handle
create(Context, Repository, Context, Method, List<Source>)
- Static method in class net.oneandone.inline.internal.
Handle.MethodContextFactory
create(Repository, Field)
- Static method in class net.oneandone.inline.internal.
TargetField
create(boolean, Repository, Method)
- Static method in class net.oneandone.inline.internal.
TargetMethod
createOpt(Context, Repository, Constructor, List<Source>)
- Static method in class net.oneandone.inline.internal.
Handle.ConstructorContextFactory
D
DEFAULT_UNDEFINED
- Static variable in class net.oneandone.inline.internal.
Source
defaultComponent()
- Method in class net.oneandone.inline.internal.
Target
defaults(Map<String, String>)
- Method in class net.oneandone.inline.
Cli
defaultValue()
- Method in class net.oneandone.inline.internal.
Primitive
define(Argument)
- Method in class net.oneandone.inline.internal.
Actuals
defineAll(Collection<Argument>)
- Method in class net.oneandone.inline.internal.
Actuals
doCreate(Context, String)
- Static method in class net.oneandone.inline.internal.
Handle.FactoryHandle
doSet(Object, Object)
- Method in class net.oneandone.inline.internal.
Target
value is an instance of the reflection type
doSet(Object, Object)
- Method in class net.oneandone.inline.internal.
TargetField
doSet(Object, Object)
- Method in class net.oneandone.inline.internal.
TargetMethod
doSet(Object, Object)
- Method in class net.oneandone.inline.internal.
TargetMethodIterated
doSet(Object, Object)
- Method in class net.oneandone.inline.internal.
TargetParameter
E
end()
- Method in class net.oneandone.inline.
Cli
error
- Variable in class net.oneandone.inline.
Console
escape(String)
- Static method in class net.oneandone.inline.util.
Split
expected
- Variable in class net.oneandone.inline.internal.
Primitive
expected()
- Method in class net.oneandone.inline.internal.
Target
F
FactoryHandle(Context, Method)
- Constructor for class net.oneandone.inline.internal.
Handle.FactoryHandle
fill(List<String>, Map<String, Argument>, List<Argument>)
- Method in class net.oneandone.inline.internal.
Actuals
flush()
- Method in class net.oneandone.inline.util.
SwitchableWriter
forEnum(Class<? extends Enum>)
- Static method in class net.oneandone.inline.internal.
Repository
forSyntax(String)
- Static method in class net.oneandone.inline.internal.
Source
fullMapping(String)
- Method in class net.oneandone.inline.
Base
fullSyntax(String)
- Method in class net.oneandone.inline.
Base
G
get(String)
- Method in class net.oneandone.inline.
Cli
get(Class<?>)
- Method in class net.oneandone.inline.internal.
Repository
getBuilder()
- Method in class net.oneandone.inline.internal.
Command
getCommand()
- Method in class net.oneandone.inline.internal.
Mapping
getDefaultString()
- Method in class net.oneandone.inline.internal.
Source
getEnabled()
- Method in class net.oneandone.inline.util.
SwitchableWriter
getName()
- Method in class net.oneandone.inline.internal.
Command
getName()
- Method in class net.oneandone.inline.internal.
Source
getRawType()
- Method in class net.oneandone.inline.internal.
Primitive
getStacktraces()
- Method in class net.oneandone.inline.
Console
getValues(Class<T>)
- Static method in class net.oneandone.inline.internal.
Repository
getVerbose()
- Method in class net.oneandone.inline.
Console
H
handle
- Variable in class net.oneandone.inline.internal.
Context
Handle
- Class in
net.oneandone.inline.internal
Reference to a Class or an Instance.
Handle()
- Constructor for class net.oneandone.inline.internal.
Handle
Handle.ClassHandle
- Class in
net.oneandone.inline.internal
Handle.ConstructorContextFactory
- Class in
net.oneandone.inline.internal
Handle.FactoryHandle
- Class in
net.oneandone.inline.internal
Handle.IdentityContextFactory
- Class in
net.oneandone.inline.internal
Handle.InstanceHandle
- Class in
net.oneandone.inline.internal
Handle.MethodContextFactory
- Class in
net.oneandone.inline.internal
handleException(Throwable)
- Method in class net.oneandone.inline.
Console
Help
- Class in
net.oneandone.inline.commands
Help(Console, String)
- Constructor for class net.oneandone.inline.commands.
Help
I
IdentityContextFactory(Object)
- Constructor for class net.oneandone.inline.internal.
Handle.IdentityContextFactory
info
- Variable in class net.oneandone.inline.
Console
input
- Variable in class net.oneandone.inline.
Console
InstanceHandle(Object)
- Constructor for class net.oneandone.inline.internal.
Handle.InstanceHandle
InvalidCliException
- Exception in
net.oneandone.inline.internal
Thrown when building the Cli.
InvalidCliException(String)
- Constructor for exception net.oneandone.inline.internal.
InvalidCliException
isBoolean()
- Method in class net.oneandone.inline.internal.
Target
isList()
- Method in class net.oneandone.inline.internal.
Source
isList()
- Method in class net.oneandone.inline.internal.
Target
isOption(String)
- Static method in class net.oneandone.inline.internal.
ContextBuilder
isOptional()
- Method in class net.oneandone.inline.internal.
Source
L
lookup(String)
- Method in class net.oneandone.inline.
Cli
M
mapping
- Variable in class net.oneandone.inline.internal.
Context
Mapping
- Class in
net.oneandone.inline.internal
Mapping()
- Constructor for class net.oneandone.inline.internal.
Mapping
max()
- Method in class net.oneandone.inline.internal.
Source
MethodContextFactory(Context, Method, List<Argument>, Object[])
- Constructor for class net.oneandone.inline.internal.
Handle.MethodContextFactory
N
name
- Variable in class net.oneandone.inline.internal.
Context
name()
- Method in class net.oneandone.inline.internal.
Handle
net.oneandone.inline
- package net.oneandone.inline
net.oneandone.inline.commands
- package net.oneandone.inline.commands
net.oneandone.inline.internal
- package net.oneandone.inline.internal
net.oneandone.inline.util
- package net.oneandone.inline.util
newInstance(Map<Context, Object>)
- Method in class net.oneandone.inline.internal.
ContextFactory
newInstance(Map<Context, Object>)
- Method in class net.oneandone.inline.internal.
Handle.ConstructorContextFactory
newInstance(Map<Context, Object>)
- Method in class net.oneandone.inline.internal.
Handle.IdentityContextFactory
newInstance(Map<Context, Object>)
- Method in class net.oneandone.inline.internal.
Handle.MethodContextFactory
O
option
- Variable in class net.oneandone.inline.internal.
Source
0 for "not positional" - i.e. an option
P
PackageVersion
- Class in
net.oneandone.inline.commands
PackageVersion(Console)
- Constructor for class net.oneandone.inline.commands.
PackageVersion
parent
- Variable in class net.oneandone.inline.internal.
Context
may be null
parentList()
- Method in class net.oneandone.inline.internal.
Context
parse(String, Class<?>)
- Static method in class net.oneandone.inline.internal.
Mapping
parse(String)
- Method in class net.oneandone.inline.internal.
Primitive
pressReturn()
- Method in class net.oneandone.inline.
Console
primitive(Class<?>, String, Object, Function<String, Object>)
- Method in class net.oneandone.inline.
Cli
Primitive
- Class in
net.oneandone.inline.internal
Factory to create an object from a String
Primitive(Type, String, Object, Function<String, ? extends Object>)
- Constructor for class net.oneandone.inline.internal.
Primitive
R
raw
- Variable in class net.oneandone.inline.internal.
Primitive
readline(String)
- Method in class net.oneandone.inline.
Console
readline(String, String)
- Method in class net.oneandone.inline.
Console
register(Class<?>, Class<?>, String, Object, Function<String, ? extends Object>)
- Method in class net.oneandone.inline.internal.
Repository
register(Class<?>, String, Object, Function<String, ? extends Object>)
- Method in class net.oneandone.inline.internal.
Repository
remove(List<Context>, Class<?>)
- Static method in class net.oneandone.inline.internal.
Context
repository
- Variable in class net.oneandone.inline.
Cli
Repository
- Class in
net.oneandone.inline.internal
Defines how to instantiate type from command line arguments.
Repository()
- Constructor for class net.oneandone.inline.internal.
Repository
run(String...)
- Method in class net.oneandone.inline.
Cli
run(List<String>)
- Method in class net.oneandone.inline.
Cli
run()
- Method in class net.oneandone.inline.commands.
Help
run()
- Method in class net.oneandone.inline.commands.
PackageVersion
run(Object)
- Method in class net.oneandone.inline.internal.
Command
run(Map<String, String>, String...)
- Method in class net.oneandone.inline.internal.
ContextBuilder
Convenience for Testing
run(Map<String, String>, List<String>)
- Method in class net.oneandone.inline.internal.
ContextBuilder
S
save(Context, Object)
- Method in class net.oneandone.inline.internal.
Actuals
set(Object, List<String>, Map<String, String>)
- Method in class net.oneandone.inline.internal.
Argument
setEnabled(boolean)
- Method in class net.oneandone.inline.util.
SwitchableWriter
setStacktraces(boolean)
- Method in class net.oneandone.inline.
Console
setVerbose(boolean)
- Method in class net.oneandone.inline.
Console
single(Class<?>, String)
- Static method in class net.oneandone.inline.
Cli
source
- Variable in class net.oneandone.inline.internal.
Argument
Source
- Class in
net.oneandone.inline.internal
Defines the part of a command line that comprise one argument.
Source(boolean, String, int, int, String)
- Constructor for class net.oneandone.inline.internal.
Source
sources
- Variable in class net.oneandone.inline.internal.
Context
Split
- Class in
net.oneandone.inline.util
Split()
- Constructor for class net.oneandone.inline.util.
Split
split(String)
- Static method in class net.oneandone.inline.util.
Split
stringToComponent(String)
- Method in class net.oneandone.inline.internal.
Target
SwitchableWriter
- Class in
net.oneandone.inline.util
SwitchableWriter(Writer, boolean)
- Constructor for class net.oneandone.inline.util.
SwitchableWriter
T
target
- Variable in class net.oneandone.inline.internal.
Argument
target(Repository, String)
- Method in class net.oneandone.inline.internal.
Mapping
Target
- Class in
net.oneandone.inline.internal
Defines where to store values from the command line.
Target(Repository, Type)
- Constructor for class net.oneandone.inline.internal.
Target
Target(boolean, Primitive)
- Constructor for class net.oneandone.inline.internal.
Target
TargetField
- Class in
net.oneandone.inline.internal
TargetField(Repository, Type, Field)
- Constructor for class net.oneandone.inline.internal.
TargetField
TargetMethod
- Class in
net.oneandone.inline.internal
TargetMethod(Repository, Type, Method)
- Constructor for class net.oneandone.inline.internal.
TargetMethod
TargetMethodIterated
- Class in
net.oneandone.inline.internal
TargetMethodIterated(boolean, Primitive, Method)
- Constructor for class net.oneandone.inline.internal.
TargetMethodIterated
TargetParameter
- Class in
net.oneandone.inline.internal
TargetParameter(Repository, Type, Object[], int)
- Constructor for class net.oneandone.inline.internal.
TargetParameter
V
verbose
- Variable in class net.oneandone.inline.
Console
W
write(int)
- Method in class net.oneandone.inline.util.
SwitchableWriter
write(char[], int, int)
- Method in class net.oneandone.inline.util.
SwitchableWriter
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
V
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2016–2017
1&1
. All rights reserved.