- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for TransformerContext (0.15 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContext.java
* * @since 4.0.0 * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface TransformerContext { /** * Key to get the TransformerContext from the SessionData */ Object KEY = TransformerContext.class; /** * Get the value of the Maven user property. */ String getUserProperty(String key); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
class BuildModelSourceTransformer implements ModelSourceTransformer { public static final String NAMESPACE_PREFIX = "http://maven.apache.org/POM/"; @Override public void transform(Path pomFile, TransformerContext context, Model model) { handleModelVersion(model); handleParent(pomFile, context, model); handleReactorDependencies(context, model); handleCiFriendlyVersion(context, model); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java
/** * @deprecated Use {@link #buildRawModel(Path, int, boolean, TransformerContext)} instead. */ @Deprecated Result<? extends Model> buildRawModel( File pomFile, int validationLevel, boolean locationTracking, TransformerContext context); /** * @since 4.0.0 */ Result<? extends Model> buildRawModel(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java
* @param problems the problemCollector * @return the mutable transformerContext */ TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems); /** * The immutable transformerContext, can be used after the buildplan is finished. * * @return the immutable transformerContext */ TransformerContext build();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSourceTransformer.java
import java.nio.file.Path; import org.apache.maven.model.Model; /** * The ModelSourceTransformer is a way to transform the local pom while streaming the input. * * The {@link #transform(Path, TransformerContext, Model)} method uses a Path on purpose, to ensure the * local pom is the original source. * * @since 4.0.0 * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java
*/ @Override public TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector collector) { // We must assume the TransformerContext was created using this.newTransformerContextBuilder() DefaultModelProblemCollector problems = (DefaultModelProblemCollector) collector; return new TransformerContext() { @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/BuildModelSourceTransformerTest.java
import org.mockito.Mockito; import static org.junit.jupiter.api.Assertions.assertTrue; public class BuildModelSourceTransformerTest { Path pomFile; TransformerContext context = org.mockito.Mockito.mock(TransformerContext.class); @Test void testModelVersion() { Model initial = new Model(org.apache.maven.api.model.Model.newBuilder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java
/** * * @since 4.0.0 * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") class DefaultTransformerContext implements TransformerContext { final ModelLocator modelLocator; final Map<String, String> userProperties = new ConcurrentHashMap<>(); final Map<Path, Holder> modelByPath = new ConcurrentHashMap<>();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) { return buildRawModel(pomFile.toPath(), validationLevel, locationTracking, context); } @Override public Result<? extends Model> buildRawModel( Path pomFile, int validationLevel, boolean locationTracking, TransformerContext context) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)