Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for LifecycleConfiguration (0.14 sec)

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

     */
    package org.apache.maven.plugin.lifecycle;
    
    /**
     * Root element of the <code>lifecycle.xml</code> file.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public class LifecycleConfiguration implements java.io.Serializable {
    
        // --------------------------/
        // - Class/Member Variables -/
        // --------------------------/
    
        /**
         * Field lifecycles.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    			prefix:      "foodir/foobject/foo.txt",
    			want:        true,
    		},
    		{
    			inputConfig: `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    			prefix:      "zdir/foobject",
    			want:        false,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    	                       <Status>Enabled</Status>
    			       <ID>DeleteAllVersions</ID>
    	                    </Rule>
    	                 </LifecycleConfiguration>`
    	delMarkerILM := `<LifecycleConfiguration>
                                <Rule>
                                  <ID>DelMarkerExpiration</ID>
                                  <Filter></Filter>
                                  <Status>Enabled</Status>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle_test.go

    			xml:         []byte(`<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Rule><ID>rule</ID><Prefix /><Status>Enabled</Status><Transition><Days>1</Days><StorageClass>"NONEXISTENT"</StorageClass></Transition></Rule></LifecycleConfiguration>`),
    			expectedErr: errInvalidStorageClass,
    		},
    		{
    			// no transition rule
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            if (lifecycleMappings == null) {
                LifecycleConfiguration lifecycleConfiguration;
    
                try (InputStream input = getDescriptorStream(LIFECYCLE_DESCRIPTOR)) {
                    lifecycleConfiguration = new LifecycleStaxReader().read(input);
                }
    
                lifecycleMappings = new HashMap<>();
    
                for (Lifecycle lifecycle : lifecycleConfiguration.getLifecycles()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	switch start.Name.Local {
    	case "LifecycleConfiguration", "BucketLifecycleConfiguration":
    	default:
    		return xml.UnmarshalError(fmt.Sprintf("expected element type <LifecycleConfiguration>/<BucketLifecycleConfiguration> but have <%s>",
    			start.Name.Local))
    	}
    	for {
    		// Read tokens from the XML document in a stream.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

        {@code META-INF/maven/lifecycle.xml} in a plugin's jar artifact.
      </description>
      <classes>
        <class rootElement="true" xml.tagName="lifecycles" xsd.compositor="sequence">
          <name>LifecycleConfiguration</name>
          <version>1.0.0+</version>
          <description>Root element of the {@code lifecycle.xml} file.</description>
          <fields>
            <field>
              <name>lifecycles</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top