public final class ProjectPlatform extends Object
JavaPlatform
defined within a project.Modifier and Type | Method and Description |
---|---|
static JavaPlatform |
forProject(Project owner,
PropertyEvaluator eval,
String platformType)
Creates a transient
JavaPlatform defined in given Project . |
@CheckForNull public static JavaPlatform forProject(@NonNull Project owner, @NonNull PropertyEvaluator eval, @NonNull String platformType)
JavaPlatform
defined in given Project
.owner
- the project to return the JavaPlatform
foreval
- property evaluatorplatformType
- the type of the platform, eg. "j2se"JavaPlatform
for given project or null when platform cannot
be createdBuilt on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.