< prev index next >
src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/PlatformPackage.java
Print this page
@@ -20,15 +20,34 @@
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
+package jdk.incubator.jpackage.internal;
-#include <windows.h>
+import java.nio.file.Path;
-extern "C" {
+/**
+ *
+ * Platform package of an application.
+ */
+interface PlatformPackage {
+ /**
+ * Platform-specific package name.
+ */
+ String name();
+
+ /**
+ * Root directory where sources for packaging tool should be stored
+ */
+ Path sourceRoot();
+
+ /**
+ * Source application layout from which to build the package.
+ */
+ ApplicationLayout sourceApplicationLayout();
- BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason,
- LPVOID lpvReserved) {
- return true;
- }
+ /**
+ * Application layout of the installed package.
+ */
+ ApplicationLayout installedApplicationLayout();
}
\ No newline at end of file
< prev index next >