- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ExtensibleEnum (0.28 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnum.java
* * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface * can be used as keys. * * @since 4.0.0 */ @Experimental public interface ExtensibleEnum { /** * The {@code id} uniquely represents a value for this extensible enum. * This id should be used to compute the equality and hash code for the instance. * * @return the id */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 1.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java
* under the License. */ package org.apache.maven.api.services; import java.util.Optional; import org.apache.maven.api.ExtensibleEnum; import org.apache.maven.api.Service; import org.apache.maven.api.annotations.Nonnull; public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service { @Nonnull Optional<T> lookup(@Nonnull String id); @Nonnull default T require(@Nonnull String id) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Language.java
* can be used as keys. * * @since 4.0.0 */ @Experimental @Immutable @SuppressWarnings("checkstyle:InterfaceIsType") public interface Language extends ExtensibleEnum { /** * The "none" language. It is not versioned, family is same to itself, and compatible with itself only. * In turn, every {@link Language} implementation must be compatible with {@code NONE} language.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:42:51 GMT 2024 - 1.9K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.spi; import java.util.Collection; import org.apache.maven.api.ExtensibleEnum; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /** * An SPI interface to extend Maven with a new enum value.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.model.Plugin; /** * Lifecycle definition * * @since 4.0.0 */ @Experimental @Immutable public interface Lifecycle extends ExtensibleEnum { String CLEAN = "clean"; String DEFAULT = "default"; String SITE = "site"; String WRAPPER = "wrapper"; /** * Name or identifier of this lifecycle. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java
public DefaultLanguageRegistry(List<LanguageProvider> providers) { super(providers, Language.NONE, Language.JAVA_FAMILY); } } static class DefaultExtensibleEnumRegistry<T extends ExtensibleEnum, P extends ExtensibleEnumProvider<T>> implements ExtensibleEnumRegistry<T> { private final Map<String, T> values; DefaultExtensibleEnumRegistry(List<P> providers, T... builtinValues) {
Java - Registered: Sun Apr 07 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:42:51 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java
import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.maven.api.ExtensibleEnum; import org.apache.maven.api.Language; import org.apache.maven.api.PathScope; import org.apache.maven.api.ProjectScope; import org.apache.maven.api.di.Inject; import org.apache.maven.api.di.Named;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java
* the packaging are currently defined by Maven 3 {@code Provider<LifecycleMapping>} * * @since 4.0.0 */ @Experimental @Immutable public interface Packaging extends ExtensibleEnum { /** * The packaging id. */ @Nonnull String id(); /** * The language of this packaging. */ @Nonnull default Language language() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java
* can be used as keys. * * @since 4.0.0 */ @Experimental @Immutable @SuppressWarnings("checkstyle:InterfaceIsType") public interface ProjectScope extends ExtensibleEnum { /** * Main scope. */ ProjectScope MAIN = projectScope("main"); /** * Test scope. */ ProjectScope TEST = projectScope("test");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:42:51 GMT 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
} static ProjectScope projectScope(String id) { return new DefaultProjectScope(id); } private static class DefaultExtensibleEnum implements ExtensibleEnum { private final String id; DefaultExtensibleEnum(String id) { this.id = Objects.requireNonNull(id); } public String id() { return id;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:42:51 GMT 2024 - 3.1K bytes - Viewed (0)