CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.remoting.sample
Class ArtifactDownloader

java.lang.Object
  extended by com.intland.codebeamer.remoting.sample.ArtifactDownloader

public class ArtifactDownloader
extends java.lang.Object

This program is part of the CodeBeamer SDK.

This console application illustrates:


Constructor Summary
ArtifactDownloader()
           
 
Method Summary
protected static ArtifactDto findArtifactByName(RemoteApi api, java.lang.String token, ArtifactDto[] artifacts, java.lang.String artifactName)
          Recursively search for the artifact with the given name.
protected static ProjectDto findProjectByName(ProjectDto[] projects, java.lang.String projectName)
          Returns the project with the given name.
static void main(java.lang.String[] args)
          Main entry point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactDownloader

public ArtifactDownloader()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main entry point.

Throws:
java.lang.Exception

findProjectByName

protected static ProjectDto findProjectByName(ProjectDto[] projects,
                                              java.lang.String projectName)
Returns the project with the given name.


findArtifactByName

protected static ArtifactDto findArtifactByName(RemoteApi api,
                                                java.lang.String token,
                                                ArtifactDto[] artifacts,
                                                java.lang.String artifactName)
Recursively search for the artifact with the given name.

Returns:
the artifact with the given name or null if not found.

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.