org.jvnet.hudson.update_center
Class Main

java.lang.Object
  extended by org.jvnet.hudson.update_center.Main

public class Main
extends java.lang.Object

Author:
Kohsuke Kawaguchi

Field Summary
 java.util.List<java.io.File> certificates
           
 java.lang.String connectionCheckUrl
           
 java.io.File download
          This option builds the directory image for the download server.
 java.io.File htaccess
           
 java.lang.String id
           
 java.io.File indexHtml
           
 java.io.File output
           
 java.io.File privateKey
           
 java.io.File releaseHistory
           
 java.io.File www
           
 
Constructor Summary
Main()
           
 
Method Summary
protected  net.sf.json.JSONObject buildCore(MavenRepository repository, java.io.PrintWriter redirect)
          Build JSON for the core Hudson.
protected  net.sf.json.JSONObject buildPlugins(MavenRepository repository, java.io.PrintWriter redirect)
          Build JSON for the plugin list.
protected  net.sf.json.JSONArray buildReleaseHistory(MavenRepository repository)
          Build JSON for the release history list.
protected  MavenRepository createRepository()
           
static void main(java.lang.String[] args)
           
 void run()
           
 int run(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

output

public java.io.File output

releaseHistory

public java.io.File releaseHistory

htaccess

public java.io.File htaccess

download

public java.io.File download
This option builds the directory image for the download server.


www

public java.io.File www

indexHtml

public java.io.File indexHtml

privateKey

public java.io.File privateKey

certificates

public java.util.List<java.io.File> certificates

id

public java.lang.String id

connectionCheckUrl

public java.lang.String connectionCheckUrl
Constructor Detail

Main

public Main()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

run

public int run(java.lang.String[] args)
        throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

createRepository

protected MavenRepository createRepository()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

buildPlugins

protected net.sf.json.JSONObject buildPlugins(MavenRepository repository,
                                              java.io.PrintWriter redirect)
                                       throws java.lang.Exception
Build JSON for the plugin list.

Parameters:
repository -
redirect -
Throws:
java.lang.Exception

buildReleaseHistory

protected net.sf.json.JSONArray buildReleaseHistory(MavenRepository repository)
                                             throws java.lang.Exception
Build JSON for the release history list.

Parameters:
repository -
Throws:
java.lang.Exception

buildCore

protected net.sf.json.JSONObject buildCore(MavenRepository repository,
                                           java.io.PrintWriter redirect)
                                    throws java.lang.Exception
Build JSON for the core Hudson.

Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.