net.sf.sail.common.apps
Class PreviewCurnit

java.lang.Object
  extended by net.sf.sail.common.apps.PreviewCurnit
Direct Known Subclasses:
PreviewCurnitFile

public class PreviewCurnit
extends java.lang.Object

Launches a preview of the chosen Curnit in a configuration that doesn't record any data.

Assumes that all the class dependencies of the curnit are in the classpath of the current VM.

Author:
turadg

Constructor Summary
PreviewCurnit()
           
 
Method Summary
static void loadAndStart(java.net.URL curnitArchiveUrl)
           
static void main(java.lang.String[] args)
           
static void previewRootPod(Pod rootPod)
          Wrap root pod into a curnit and launch that curnit in a preview session
static void previewRootPod(PodUuid rootPodId)
          Wrap root pod into a curnit and launch that curnit in a preview session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewCurnit

public PreviewCurnit()
Method Detail

main

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

loadAndStart

public static void loadAndStart(java.net.URL curnitArchiveUrl)
                         throws java.io.IOException
Parameters:
selectedFile -
Throws:
java.io.IOException

previewRootPod

public static void previewRootPod(Pod rootPod)
                           throws java.io.IOException
Wrap root pod into a curnit and launch that curnit in a preview session

Parameters:
rootPod - root pod of virtual curnit to preview
Throws:
java.io.IOException

previewRootPod

public static void previewRootPod(PodUuid rootPodId)
                           throws java.io.IOException
Wrap root pod into a curnit and launch that curnit in a preview session

Parameters:
rootPodId - TODO
Throws:
java.io.IOException


Copyright © 2004-2008 TELS Center. All Rights Reserved.