org.fusesource.patch.client
Class Main
java.lang.Object
org.fusesource.patch.client.Main
public class Main
- extends java.lang.Object
|
Constructor Summary |
Main(java.util.List<java.lang.String> repos,
java.util.List<java.lang.String> artifacts,
java.io.File cache)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORIES
public static final java.lang.String REPOSITORIES
- See Also:
- Constant Field Values
ARTIFACTS
public static final java.lang.String ARTIFACTS
- See Also:
- Constant Field Values
CACHE
public static final java.lang.String CACHE
- See Also:
- Constant Field Values
DEFAULT_REPOSITORIES
public static final java.lang.String DEFAULT_REPOSITORIES
- See Also:
- Constant Field Values
DEFAULT_ARTIFACTS
public static final java.lang.String DEFAULT_ARTIFACTS
- See Also:
- Constant Field Values
DEFAULT_CACHE
public static final java.lang.String DEFAULT_CACHE
- See Also:
- Constant Field Values
Main
public Main(java.util.List<java.lang.String> repos,
java.util.List<java.lang.String> artifacts,
java.io.File cache)
throws java.io.IOException
- Throws:
java.io.IOException
run
public void run()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVersion
protected java.lang.String getVersion()
install
protected void install(java.util.List<Main.Patch> patches)
throws java.lang.Exception
- Throws:
java.lang.Exception
audit
public void audit(java.lang.String message)
wildcardToRegex
public static java.lang.String wildcardToRegex(java.lang.String wildcard)
downloadPatchMetadata
public void downloadPatchMetadata(java.util.List<Main.Patch> locations,
java.io.File directory)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
downloadPatches
public void downloadPatches(java.util.List<Main.Patch> locations,
java.io.File directory)
throws java.lang.InterruptedException,
java.net.MalformedURLException
- Throws:
java.lang.InterruptedException
java.net.MalformedURLException
getPossiblePatches
public java.util.List<Main.Patch> getPossiblePatches()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
destroy
public void destroy()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2013 Red Hat. All Rights Reserved.