com.levigo.util.swing.action.injection
Annotation Type Parameter


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Inherited
public @interface Parameter

An annotation used to specify parameters to be injected into any Command


Optional Element Summary
 String name
          The parameter name.
 boolean optional
          Specifies whether the parameter is optional.
 

name

public abstract String name
The parameter name. The value will be used to lookup the actual value in the underlying configuration.

Returns:
the name or the parameter
Default:
""

optional

public abstract boolean optional
Specifies whether the parameter is optional.

Returns:
true if the argument is optional.
Default:
false


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.