Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Enum (0.33 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            sourceFile.text = apiElement == 'enum' ? """
                    /**
                     * @since 11.38
                     */
                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        field;
    
                        void method() { }
                    }
                """
                : apiElement.startsWith('enum') ? """
                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        /**
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

    package org.gradle.test
    
    import org.gradle.test.sub2.GroovyInterface
    
    class GroovyClassWithInnerTypes implements GroovyInterface {
        /**
         * This is an inner enum.
         */
        enum InnerEnum {}
    
        /**
         * This is an inner class.
         */
        static class InnerClass {
            InnerEnum enumProp
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 609 bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            timeout = 30,
            channel = "adhoc",
            extraParameters = "--checks none"
        );
    }
    
    enum class Trigger {
        never, eachCommit, daily, weekly
    }
    
    const val GRADLE_BUILD_SMOKE_TEST_NAME = "gradleBuildSmokeTest"
    
    enum class SpecificBuild {
        CompileAll {
            override fun create(model: CIBuildModel, stage: Stage): BaseGradleBuildType {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.Project
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    enum class TestSplitType(val action: String) {
        INCLUDE("include"), EXCLUDE("exclude")
    }
    
    fun prepareTestClassesStep(os: Os, type: TestSplitType, testClasses: List<String>): BuildSteps.() -> Unit {
        val action = type.action
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/JvmVersion.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    enum class JvmVersion(val major: Int) {
        java8(8),
        java11(11),
        java17(17),
        java21(21),
        java22(22),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Apr 06 02:21:32 GMT 2024
    - 753 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/resources/org/gradle/test/GroovyEnum.groovy

    package org.gradle.test
    
    public enum GroovyEnum {
        A, B
    Groovy
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 61 bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

                $publicMembers
            }
    
            internal object AddedObject {
    
                $publicMembers
    
                const val cathedral = "cathedral"
            }
    
            internal enum class AddedEnum {
                FOO;
    
                $publicMembers
            }
        """
    
        private
        val publicSource = """
    
            $publicMembers
    
            class ExistingClass() {
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.modules.model
    
    
    enum class License(val displayName: String) {
        Apache2("Apache 2.0"),
        BSD3("3-Clause BSD"),
        BSDStyle("BSD-style"),
        CDDL("CDDL"),
        EDL("Eclipse Distribution License 1.0"),
        EPL("Eclipse Public License 1.0"),
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jan 08 10:41:04 GMT 2021
    - 922 bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/JvmCategory.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    enum class JvmCategory(
        override val vendor: JvmVendor,
        override val version: JvmVersion
    ) : Jvm {
        MIN_VERSION(JvmVendor.oracle, JvmVersion.java8),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Apr 06 02:21:32 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

     */
    private
    val mappedTypeStrings =
        mapOf(
            // Built-ins
            "java.lang.Cloneable" to "kotlin.Cloneable",
            "java.lang.Comparable" to "kotlin.Comparable",
            "java.lang.Enum" to "kotlin.Enum",
            "java.lang.annotation.Annotation" to "kotlin.Annotation",
            "java.lang.Deprecated" to "kotlin.Deprecated",
            "java.lang.CharSequence" to "kotlin.CharSequence",
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
Back to top