- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for FeatureUsage (0.22 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/FeatureUsage.java
*/ package org.gradle.internal.featurelifecycle; /** * An immutable description of the usage of a deprecated feature. */ public abstract class FeatureUsage { private final String summary; private final Class<?> calledFrom; protected FeatureUsage(String summary, Class<?> calledFrom) { this.summary = summary; this.calledFrom = calledFrom; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/DefaultDeprecatedUsageProgressDetails.java
public final DeprecatedFeatureUsage featureUsage; private final ProblemDiagnostics diagnostics; public DefaultDeprecatedUsageProgressDetails(DeprecatedFeatureUsage featureUsage, ProblemDiagnostics diagnostics) { this.featureUsage = featureUsage; this.diagnostics = diagnostics; } @Override public String getSummary() { return featureUsage.getSummary(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 15:24:26 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecatedFeatureUsageTest.groovy
def "formats messages"() { given: def featureUsage = new DeprecatedFeatureUsage(summary, removalDetails, advice, contextualAdvice, documentationReference, DeprecatedFeatureUsage.Type.USER_CODE_DIRECT, "id display name", "id", getClass()) expect: featureUsage.formattedMessage() == expected where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 16:09:54 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/featurelifecycle/SimulatedGroovyCallLocation.groovy
*/ class SimulatedGroovyCallLocation { static FeatureUsage create() { return SimulatedSingleMessageLogger.nagUserWith(SimulatedSingleMessageLogger.DIRECT_CALL) } static FeatureUsage indirectly() { return SimulatedSingleMessageLogger.indirectly(SimulatedSingleMessageLogger.INDIRECT_CALL) } static FeatureUsage indirectly2() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/FeatureHandler.java
*/ package org.gradle.internal.featurelifecycle; /** * Notified when a deprecated feature is used. * * <p>Implementations need not be thread-safe. */ public interface FeatureHandler<T extends FeatureUsage> { void featureUsed(T usage);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 860 bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/IncubatingFeatureUsage.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.featurelifecycle; public class IncubatingFeatureUsage extends FeatureUsage { public IncubatingFeatureUsage(String summary, Class<?> calledFrom) { super(summary, calledFrom); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 840 bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecatedFeatureUsage.java
import org.gradle.api.problems.internal.DeprecationData; import org.gradle.api.problems.internal.DocLink; import org.gradle.internal.featurelifecycle.FeatureUsage; import javax.annotation.Nullable; import static org.apache.commons.lang.StringUtils.isNotEmpty; public class DeprecatedFeatureUsage extends FeatureUsage { private final String removalDetails; private final String advice; private final String contextualAdvice;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/featurelifecycle/SimulatedSingleMessageLogger.java
} public static TestFeatureUsage nagUserWith(String message) { return new TestFeatureUsage(message, SimulatedSingleMessageLogger.class); } static class TestFeatureUsage extends FeatureUsage { public final Exception exception = new Exception(); public TestFeatureUsage(String summary, Class<?> calledFrom) { super(summary, calledFrom); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.5K bytes - Viewed (0)