com.cloudbees.sdk.cli
Annotation Type CommandScope


@Scope
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface CommandScope

Indicates that components are scoped to a single command execution.

This is normally used in conjunction with HasOptions, so that components that define command line options won't end up having multiple instances during a single command invocation.

Author:
Kohsuke Kawaguchi



Copyright © 2011-2014. All Rights Reserved.