com.sonyericsson.hudson.plugins.metadata.cli
Class GetMetadataCommand

java.lang.Object
  extended by hudson.cli.CLICommand
      extended by com.sonyericsson.hudson.plugins.metadata.cli.GetMetadataCommand
All Implemented Interfaces:
hudson.ExtensionPoint, Cloneable

@Extension
public class GetMetadataCommand
extends hudson.cli.CLICommand

Command for listing/viewing data on stuff.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 Integer build
          The build argument.
 String job
          The job argument.
 String node
          The node argument.
 
Fields inherited from class hudson.cli.CLICommand
channel, locale, stderr, stdin, stdout, TRANSPORT_AUTHENTICATION
 
Constructor Summary
GetMetadataCommand()
           
 
Method Summary
 String getShortDescription()
           
protected  int run()
           
 
Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCurrent, getName, getTransportAuthentication, loadStoredAuthentication, main, printUsage, printUsageSummary, registerOptionHandlers, setTransportAuth, shouldPerformAuthentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

job

public String job
The job argument. The name of the job/project to add data to. If job is not provided node must be.


build

public Integer build
The build argument. The build number of the job to add data to. If build is provided job must be.


node

public String node
The node argument. The name of the node/computer to add data to. If node is not provided job must be.

Constructor Detail

GetMetadataCommand

public GetMetadataCommand()
Method Detail

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in class hudson.cli.CLICommand

run

protected int run()
           throws Exception
Specified by:
run in class hudson.cli.CLICommand
Throws:
Exception


Copyright © 2004-2013. All Rights Reserved.