cern.jjar.runner
Class GetRunner

java.lang.Object
  extended by cern.jjar.runner.GetRunner
All Implemented Interfaces:
JJarRunner

public class GetRunner
extends Object

Author:
Lionel

Field Summary
protected  String defaultdependencyversion
           
protected static int LOG_LINE_LENGTH
           
static String PROJECT_DEPENDENCY_DIR
           
static String PROJECT_DEPENDENCY_EXTENSION
           
static char PROJECT_DIR_SEPARATOR
           
 RepositoryXMLStore repositoryXMLStore
           
 
Constructor Summary
GetRunner(Logger logger)
           
 
Method Summary
protected static String getFileName(URL url)
           
protected  RepositoryElement getRepositoryElement()
           
protected  RepositoryElement[] getRepositoryElements()
           
 boolean isSilent()
           
protected  void log(String msg)
           
protected  Repository lookupRepository()
           
static void main(String[] args)
           
 Object run()
           
 void setCreatelink(boolean createlink)
           
 void setDefaultdependencyversion(String defaultdependencyversion)
           
 void setExistingversion(String existingversion)
           
 void setKeepversion(boolean keepversion)
           
 void setLocaldescriptor(File localdescriptor)
           
 void setLocalprojectpriority(boolean localprojectpriority)
           
 void setLocalrepository(String localrepository)
           
 void setOnlydependencies(boolean onlydependencies)
           
 void setProduct(String product)
           
 void setRepositoryElements(RepositoryElement[] repositoryElements)
           
 void setResolvealias(boolean resolvealias)
           
 void setSilent(boolean silent)
           
 void setSimulated(boolean simulated)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_DEPENDENCY_DIR

public static final String PROJECT_DEPENDENCY_DIR
See Also:
Constant Field Values

PROJECT_DEPENDENCY_EXTENSION

public static final String PROJECT_DEPENDENCY_EXTENSION
See Also:
Constant Field Values

PROJECT_DIR_SEPARATOR

public static final char PROJECT_DIR_SEPARATOR
See Also:
Constant Field Values

LOG_LINE_LENGTH

protected static final int LOG_LINE_LENGTH
See Also:
Constant Field Values

defaultdependencyversion

protected String defaultdependencyversion

repositoryXMLStore

public RepositoryXMLStore repositoryXMLStore
Constructor Detail

GetRunner

public GetRunner(Logger logger)
Method Detail

setCreatelink

public final void setCreatelink(boolean createlink)
Parameters:
createlink - The makelink to set.

setExistingversion

public final void setExistingversion(String existingversion)
Parameters:
existingversion - The existingversion to set.

setKeepversion

public final void setKeepversion(boolean keepversion)
Parameters:
keepversion - The keepversion to set.

setResolvealias

public final void setResolvealias(boolean resolvealias)
Parameters:
resolvealias - The resolvealias to set.

setLocaldescriptor

public final void setLocaldescriptor(File localdescriptor)
Parameters:
localdescriptor - The localdescriptor to set.

setLocalprojectpriority

public final void setLocalprojectpriority(boolean localprojectpriority)
Parameters:
localprojectpriority - The localprojectpriority to set.

setLocalrepository

public final void setLocalrepository(String localrepository)
Parameters:
localrepository - The localrepository to set.

setOnlydependencies

public final void setOnlydependencies(boolean onlydependencies)
Parameters:
onlydependencies - The onlydependencies to set.

setProduct

public final void setProduct(String product)
Parameters:
product - The product to set.

setVersion

public final void setVersion(String version)
Parameters:
version - The version to set.

setSimulated

public final void setSimulated(boolean simulated)
Parameters:
simulated - The simulated to set.

run

public Object run()
           throws Exception
Throws:
Exception

main

public static void main(String[] args)

setRepositoryElements

public void setRepositoryElements(RepositoryElement[] repositoryElements)

setSilent

public void setSilent(boolean silent)
Specified by:
setSilent in interface JJarRunner

isSilent

public boolean isSilent()
Specified by:
isSilent in interface JJarRunner

setDefaultdependencyversion

public final void setDefaultdependencyversion(String defaultdependencyversion)
Parameters:
defaultdependencyversion - The defaultdependencyversion to set.

lookupRepository

protected Repository lookupRepository()

getRepositoryElement

protected RepositoryElement getRepositoryElement()

getRepositoryElements

protected RepositoryElement[] getRepositoryElements()

getFileName

protected static final String getFileName(URL url)

log

protected void log(String msg)


Copyright © 2007 CERN. All Rights Reserved.