Sun GlassFish Enterprise Server v3 Prelude Add-On Component Development Guide

Specifying Whether a Parameter Is an Option or an Operand

Whether a parameter is an option or an operand determines how a user must specify the parameter when running the command:

To specify whether a parameter is an option or an operand, set the primary element of the @Param annotation as follows: