Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for METHOD (0.11 sec)

  1. maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

        /**
         * Configuration to pass to all goals run in this phase.
         */
        private Object configuration;
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method addExecution.
         *
         * @param execution a execution object.
         */
        public void addExecution(Execution execution) {
            getExecutions().add(execution);
        } // -- void addExecution( Execution )
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 19:51:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

     */
    package org.apache.maven.api.di;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/scan/UsedByScanPlugin.java

    import java.lang.annotation.Target;
    
    /**
     * Documents that the type or method is referenced by the build scan plugin,
     * and therefore changes need to be carefully managed. Other plugins like the
     * test-retry or the test-distribution plugin clarify their usage in the {@link #value}.
     * property.
     *
     * @since 4.0
     */
    @Retention(RetentionPolicy.SOURCE)
    @Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.CONSTRUCTOR})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/scan/NotUsedByScanPlugin.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Documents that the type or method is not referenced by the build scan plugin,
     * and therefore can be changed or removed without breaking it.
     *
     * @since 5.1
     */
    @Retention(RetentionPolicy.SOURCE)
    @Target({ElementType.METHOD, ElementType.TYPE})
    public @interface NotUsedByScanPlugin {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

    import org.gradle.api.Project
    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    class SystemPropertyInstrumentationInDynamicGroovyIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def "#method is instrumented in dynamic Groovy #indyStatus"() {
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

     */
    package org.apache.maven.api.di;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

         */
        fun isEnabledForCurrentThread(): Boolean = inputTrackingDisabledCounterForThread == 0
    
        /**
         * Disables input tracking for the current thread. Multiple calls to this method "stack", so if
         * this method was called twice then [restoreForCurrentThread] should also be called twice to
         * enable input tracking back.
         */
        fun disableForCurrentThread() {
            ++inputTrackingDisabledCounterForThread
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheJavaSerializationIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "restores task fields whose value is Serializable and has writeReplace method"() {
            buildFile << """
                class Placeholder implements Serializable {
                    String value
    
                    private Object readResolve() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest extends AbstractProcessInstrumentationIntegrationTest implements DynamicGroovyPluginMixin {
        def "calling an unrelated method is allowed in groovy build script #indyStatus"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    
            generateClassesWithClashingMethods()
    
            withPluginCode("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

        }
    
        @SuppressWarnings("unchecked")
        private <T> T createProxy(Key<T> key, Provider<T> unscoped) {
            InvocationHandler dispatcher = (proxy, method, args) -> {
                method.setAccessible(true);
                try {
                    return method.invoke(getScopeState().scope(key, unscoped).get(), args);
                } catch (InvocationTargetException e) {
                    throw e.getCause();
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top