Class Run

    • Field Detail

      • createBndrun

        private static final java.lang.invoke.MethodHandle createBndrun
        So far we have not included the resolver code inside bndlib. This means that anybody inside bndlib cannot rely on the resolver code present. However, we get more functions that take advantage of this tool. The following code looks if the resolving counterpart of Run is present in the classloader. Since this is a 1:1 replacement for this class, we try to load the resolving Bndrun.
    • Constructor Detail

      • Run

        public Run​(Workspace workspace,
                   java.io.File projectDir,
                   java.io.File propertiesFile)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • Run

        public Run​(Workspace workspace,
                   java.io.File propertiesFile)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • createRun

        public static Run createRun​(Workspace workspace,
                                    java.io.File file)
                             throws java.lang.Exception
        Create a Run that will be stand alone if it contains -standalone. In that case the given workspace is ignored. Otherwise, the workspace must be a valid workspace.
        Throws:
        java.lang.Exception
      • createRun0

        private static Run createRun0​(Workspace workspace,
                                      java.io.File file)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • report

        public void report​(java.util.Map<java.lang.String,​java.lang.Object> table)
                    throws java.lang.Exception
        Description copied from class: Project
        Report detailed info from this project
        Overrides:
        report in class Project
        Throws:
        java.lang.Exception
      • getName

        public java.lang.String getName()
        Overrides:
        getName in class Project