Package io.quarkus.bootstrap.util
Class QuarkusModelHelper
- java.lang.Object
-
- io.quarkus.bootstrap.util.QuarkusModelHelper
-
public class QuarkusModelHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String[]DEVMODE_REQUIRED_TASKSstatic List<String>ENABLE_JAR_PACKAGINGstatic StringSERIALIZED_QUARKUS_MODELstatic String[]TEST_REQUIRED_TASKS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AppModelconvert(QuarkusModel model, AppArtifact appArtifact)static QuarkusModeldeserializeQuarkusModel(Path modelPath)static voidexportModel(QuarkusModel model, boolean test)static PathgetClassPath(WorkspaceModule model)static PropertiesresolveDescriptor(Path path)static PathserializeAppModel(QuarkusModel model, boolean test)static PathserializeQuarkusModel(QuarkusModel model)static AppDependencytoAppDependency(Dependency dependency)static PathsCollectiontoPathsCollection(Collection<File> files)
-
-
-
Field Detail
-
SERIALIZED_QUARKUS_MODEL
public static final String SERIALIZED_QUARKUS_MODEL
- See Also:
- Constant Field Values
-
DEVMODE_REQUIRED_TASKS
public static final String[] DEVMODE_REQUIRED_TASKS
-
TEST_REQUIRED_TASKS
public static final String[] TEST_REQUIRED_TASKS
-
-
Method Detail
-
exportModel
public static void exportModel(QuarkusModel model, boolean test) throws AppModelResolverException, IOException
- Throws:
AppModelResolverExceptionIOException
-
serializeAppModel
public static Path serializeAppModel(QuarkusModel model, boolean test) throws AppModelResolverException, IOException
- Throws:
AppModelResolverExceptionIOException
-
serializeQuarkusModel
public static Path serializeQuarkusModel(QuarkusModel model) throws IOException
- Throws:
IOException
-
deserializeQuarkusModel
public static QuarkusModel deserializeQuarkusModel(Path modelPath) throws BootstrapGradleException
- Throws:
BootstrapGradleException
-
getClassPath
public static Path getClassPath(WorkspaceModule model) throws BootstrapGradleException
- Throws:
BootstrapGradleException
-
convert
public static AppModel convert(QuarkusModel model, AppArtifact appArtifact) throws AppModelResolverException
- Throws:
AppModelResolverException
-
toAppDependency
public static AppDependency toAppDependency(Dependency dependency)
-
toPathsCollection
public static PathsCollection toPathsCollection(Collection<File> files)
-
resolveDescriptor
public static Properties resolveDescriptor(Path path)
-
-