aQute.bnd.build
Class JUnitLauncher

java.lang.Object
  extended by aQute.bnd.build.ProjectLauncher
      extended by aQute.bnd.build.JUnitLauncher

public class JUnitLauncher
extends ProjectLauncher


Nested Class Summary
 
Nested classes/interfaces inherited from class aQute.bnd.build.ProjectLauncher
ProjectLauncher.NotificationListener, ProjectLauncher.NotificationType
 
Field Summary
 
Fields inherited from class aQute.bnd.build.ProjectLauncher
ACTIVATOR_ERROR, CANCELED, CUSTOM_LAUNCHER, DUPLICATE_BUNDLE, EMBEDDED_ACTIVATOR, ERROR, NONE, OK, RESOLVE_ERROR, SERVICES, TIMEDOUT, UPDATE_NEEDED, WARNING
 
Constructor Summary
JUnitLauncher(Project project)
           
 
Method Summary
 String getMainTypeName()
           
 int launch()
           
 void prepare()
          Should be called when all the changes to the launchers are set.
 void update()
           
 
Methods inherited from class aQute.bnd.build.ProjectLauncher
addActivator, addClasspath, addClasspath, addDefault, addRunBundle, addRunProgramArgs, addRunVM, cancel, cleanup, clear, error, executable, getActivators, getArguments, getClasspath, getCwd, getErrors, getNotificationListeners, getProject, getRunBundles, getRunEnv, getRunFramework, getRunJdb, getRunpath, getRunProgramArgs, getRunProperties, getRunVM, getStorageDir, getSystemCapabilities, getSystemPackages, getTimeout, getTrace, getWarnings, invoke, isKeep, registerForNotifications, reportResult, setCwd, setKeep, setRunFramework, setTimeout, setTrace, start, updateFromProject, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitLauncher

public JUnitLauncher(Project project)
              throws Exception
Throws:
Exception
Method Detail

prepare

public void prepare()
             throws Exception
Description copied from class: ProjectLauncher
Should be called when all the changes to the launchers are set. Will calculate whatever is necessary for the launcher.

Specified by:
prepare in class ProjectLauncher
Throws:
Exception

launch

public int launch()
           throws Exception
Overrides:
launch in class ProjectLauncher
Throws:
Exception

getMainTypeName

public String getMainTypeName()
Specified by:
getMainTypeName in class ProjectLauncher

update

public void update()
            throws Exception
Specified by:
update in class ProjectLauncher
Throws:
Exception


Copyright © 2014 aQute SARL. All rights reserved.