- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for venster (0.18 sec)
-
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
@Inject private SessionScope sessionScope; protected String component() { return "deployer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
assertNotNull(bean.myBean); assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class); assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession()); sessionScope.enter(); sessionScope.seed(Session.class, this.session); assertNotNull(bean.myBean.getSession()); assertNotNull(bean.myBean.getAnotherBean());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 4.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractNode.java
public abstract class AbstractNode implements Node { abstract org.eclipse.aether.graph.DependencyNode getDependencyNode(); @Override public boolean accept(NodeVisitor visitor) { if (visitor.enter(this)) { for (Node child : getChildren()) { if (!child.accept(visitor)) { break; } } } return visitor.leave(this); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 2.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
@Test void testNestedEnter() throws Exception { MojoExecutionScope scope = new MojoExecutionScope(); scope.enter(); Object o1 = new Object(); scope.seed(Object.class, o1); assertSame(o1, scope.scope(Key.get(Object.class), null).get()); scope.enter(); Object o2 = new Object(); scope.seed(Object.class, o2);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/NodeVisitor.java
* @return <code>true</code> to visit the specified dependency node's children, <code>false</code> to skip the * specified dependency node's children and proceed to its next sibling */ boolean enter(@Nonnull Node node); /** * Ends the visit to the specified dependency node. * * @param node the dependency node to visit
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
private final Map<Key<?>, Object> provided = new HashMap<>(); } private final ThreadLocal<LinkedList<ScopeState>> values = new ThreadLocal<>(); public MojoExecutionScope() {} public void enter() { LinkedList<ScopeState> stack = values.get(); if (stack == null) { stack = new LinkedList<>(); values.set(stack); } stack.addFirst(new ScopeState()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java
public Collection<CachingProvider<?>> providers() { return provided.values(); } } private final List<ScopeState> values = new CopyOnWriteArrayList<>(); public void enter() { values.add(0, new ScopeState()); } protected ScopeState getScopeState() { if (values.isEmpty()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/AbstractNode.java
public abstract class AbstractNode implements Node { abstract org.eclipse.aether.graph.DependencyNode getDependencyNode(); @Override public boolean accept(NodeVisitor visitor) { if (visitor.enter(this)) { for (Node child : getChildren()) { if (!child.accept(visitor)) { break; } } } return visitor.leave(this); }
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 2.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
@Inject private SessionScope sessionScope; protected String component() { return "installer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.1K bytes - Viewed (0)