- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Kata (0.18 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
import org.apache.maven.api.annotations.ThreadSafe; /** * A container for data that is specific to a session. * All components may use this storage to associate arbitrary data with a session. * <p> * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuildingEvent.java
import org.apache.maven.api.services.ModelBuilderRequest; import org.apache.maven.api.services.ModelProblemCollector; import org.apache.maven.api.services.model.ModelBuildingEvent; /** * Holds data relevant for a model building event. */ record DefaultModelBuildingEvent( Model model, Consumer<Model> update, ModelBuilderRequest request, ModelProblemCollector problems)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
mojos.remove(Thread.currentThread()); } private OwnerReentrantLock getProjectLock(MavenSession session) { SessionData data = session.getSession().getData(); Map<MavenProject, OwnerReentrantLock> locks = data.computeIfAbsent(PROJECT_LOCKS, ConcurrentHashMap::new); return locks.computeIfAbsent(session.getCurrentProject(), p -> new OwnerReentrantLock()); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 20.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
// The expressions help a lot, but we need a clean to pick up a directory of POMs, automatically load // them into a resolver, create the expression to extract the data to validate the Model, and the URI // to validate the properties. We also need a way to navigate from the Tex specification documents to // the test in question and vice versa. A little Eclipse plugin would do the trick.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java
} } @Override public Map<ChecksumAlgorithm, String> calculate(byte[] data, Collection<ChecksumAlgorithm> algorithms) { nonNull(data, "data"); nonNull(algorithms, "algorithms"); try { return calculate(new ByteArrayInputStream(data), algorithms); } catch (IOException e) { throw new UncheckedIOException(e); // really unexpected }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java
* identity of a model. The tag allows for further classification of the associated data on the sole discretion of the * model builder. * */ public interface ModelCache { <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data); <T> T computeIfAbsent(Source path, String tag, Supplier<T> data);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
return session; } private static final char[] hexCode = "0123456789ABCDEF".toCharArray(); private static String printHexBinary(byte[] data) { StringBuilder r = new StringBuilder(data.length * 2); for (byte b : data) { r.append(hexCode[(b >> 4) & 0xF]); r.append(hexCode[(b & 0xF)]); } return r.toString(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 13.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
return (T) computeIfAbsent(new GavCacheKey(groupId, artifactId, version, tag), data); } @Override @SuppressWarnings({"unchecked"}) public <T> T computeIfAbsent(Source path, String tag, Supplier<T> data) { return (T) computeIfAbsent(new SourceCacheKey(path, tag), data); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/DefaultMaven.java
result.setCanResume(true); } catch (BuildResumptionPersistenceException e) { logger.warn("Could not persist build resumption data", e); } }); } } /** * Nobody should ever use this method. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 27.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java
/** * This annotation will mark your class as a Mojo (ie. goal in a Maven plugin). * The mojo can be annotated with {@code jakarta.inject.*} annotations. * The {@link Parameter} annotation can be added on fields to inject data * from the plugin configuration or from other components. * * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Inherited public @interface Mojo {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.5K bytes - Viewed (0)