- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ScopeState (0.1 sec)
-
maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
} stack.addFirst(new ScopeState()); } private ScopeState getScopeState() { LinkedList<ScopeState> stack = values.get(); if (stack == null || stack.isEmpty()) { throw new IllegalStateException(); } return stack.getFirst(); } public void exit() throws MojoExecutionException { final LinkedList<ScopeState> stack = values.get();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 5.7K 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()) { throw new OutOfScopeException("Cannot access session scope outside of a scoping block");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 7.4K bytes - Viewed (0)