[ 
http://issues.ops4j.org/jira/browse/PAXRUNNER-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_10930
 ] 

Alin Dreghiciu commented on PAXRUNNER-77:
-----------------------------------------

Initial API proposed by NIclas (from mail list):
This should be shared between all the plugins.


public interface PaxRunner
{
   RunProfile[] getRunProfiles();

   void addRunProfile( RunProfile profile );

   void deleteRunProfile( RunProfile profile );

   RunController prepareRun( RunProfile profile );

   BundleRepository[] getBundleRepositories();

}

public interface RunProfile
{
   String getName();
   RunFramework getFramework();
   BundleInfo[] getBundleInfos();
   boolean isFreshStart();
   int getMaxHeap();
   int getStartHeap();
   int getStackSize();
   Map getOsEnvironment();
   Map getSystemProperties();
   String[] getJvmArguments();
   String[] getApplicationArguments();
}

public interface RunController
{
   PrintStream getSystemOut();
   void setSystemOut( PrintStream out );

   PrintStream getSystemErr();
   void setSystemErr( PrintStream err );

   InputStream getSystemIn();
   void setSystemIn( InputStream in );

   void run();
}

public interface RunFramework
{
   String getName();
   String getVendor();
   URL getDownloadSite();
   :
   :
}

public interface BundleRepository
{
   BundleInfo[] getBundleInfo();
}

public interface BundleInfo
{
   String getSymbolicName();
   Version getVersion();
   String getBundleName();
   String getDescription();
   URL getDownloadUrl();
   URL getDocumentationUrl();
   :
   :
}

public class Version
   implements Comparable
{
   :
   :
}


> IntelliJ IDEA plugin
> --------------------
>
>                 Key: PAXRUNNER-77
>                 URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-77
>             Project: Pax Runner
>          Issue Type: New Feature
>            Reporter: Alin Dreghiciu
>            Assignee: Niclas Hedhman
>            Priority: Minor
>
> Will be nice to have a IntelliJ IDEA plugin that starts up Pax Runner and 
> which allows to set the bundles to be deployed as well as exposing settings 
> for Pax Runner options.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to