Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 465 for VALIDATE (0.25 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            duplicateHostService.getDuplicateHost(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. internal/bucket/versioning/versioning.go

    	// Requires versioning to be enabled
    	ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"`
    	ExcludeFolders   bool             `xml:",omitempty"`
    }
    
    // Validate - validates the versioning configuration
    func (v Versioning) Validate() error {
    	// Not supported yet
    	// switch v.MFADelete {
    	// case Enabled, Disabled:
    	// default:
    	// 	return Errorf("unsupported MFADelete state %s", v.MFADelete)
    	// }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  4. maven-core/src/test/resources-project-builder/plugin-exec-inheritance/pom.xml

            <version>2.1-SNAPSHOT</version>
            <executions>
              <execution>
                <id>inherited-execution</id>
                <inherited>true</inherited>
                <phase>validate</phase>
                <goals>
                  <goal>log-string</goal>
                </goals>
                <configuration>
                  <logFile>target/executions.txt</logFile>
                  <string>inherited-execution</string>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setArtifactId("maven-it-plugin");
            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertTrue(errors.isEmpty());
        }
    
        @Test
        void testInvalidGroupId() {
            Artifact plugin = new DefaultArtifact(
                    "org.apache.maven.its.plugins",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. internal/bucket/replication/and.go

    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    // Validate - validates the And field
    func (a And) Validate() error {
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    	}
    	for _, t := range a.Tags {
    		if err := t.Validate(); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that a bucket can be created
    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. internal/event/target/nsq_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			n := NSQArgs{
    				Enable:      tt.fields.Enable,
    				NSQDAddress: tt.fields.NSQDAddress,
    				Topic:       tt.fields.Topic,
    			}
    			if err := n.Validate(); (err != nil) != tt.wantErr {
    				t.Errorf("NSQArgs.Validate() error = %v, wantErr %v", err, tt.wantErr)
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. internal/logger/target/console/console.go

    )
    
    // Target implements loggerTarget to send log
    // in plain or json format to the standard output.
    type Target struct {
    	output io.Writer
    }
    
    // Validate - validate if the tty can be written to
    func (c *Target) Validate() error {
    	return nil
    }
    
    // Endpoint returns the backend endpoint
    func (c *Target) Endpoint() string {
    	return ""
    }
    
    func (c *Target) String() string {
    	return "console"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. internal/bucket/replication/tag.go

    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    	if utf8.RuneCountInString(tag.Value) > 256 {
    		return errInvalidTagValue
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.6K bytes
    - Viewed (0)
Back to top