Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for Lifecycle (0.2 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    }
    
    // ParseLifecycleConfig - parses data in given reader to Lifecycle.
    func ParseLifecycleConfig(reader io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(reader).Decode(&lc); err != nil {
    		return nil, err
    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    func (lc Lifecycle) Validate() error {
    	// Lifecycle config can't have more than 1000 rules
    	if len(lc.Rules) > 1000 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        }
    
        public Lifecycle(
                org.apache.maven.api.services.LifecycleRegistry registry, org.apache.maven.api.Lifecycle lifecycle) {
            this.lifecycle = lifecycle;
            this.id = lifecycle.id();
            this.phases = registry.computePhases(lifecycle);
            this.defaultPhases = getDefaultPhases(lifecycle);
        }
    
        // <lifecycle>
        //   <id>clean</id>
        //   <phases>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

    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)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    errDuplicatedXMLTag,
    			expectedValidationErr: nil,
    		},
    		{ // lifecycle config with no rules
    			inputConfig: `<LifecycleConfiguration>
    		                          </LifecycleConfiguration>`,
    			expectedParsingErr:    nil,
    			expectedValidationErr: errLifecycleNoRule,
    		},
    		{ // lifecycle config with rules having overlapping prefix
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    )
    
    // LifecycleSys - Bucket lifecycle subsystem.
    type LifecycleSys struct{}
    
    // Get - gets lifecycle config associated to a given bucket name.
    func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
    	lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
    	return lc, err
    }
    
    // NewLifecycleSys - creates new lifecycle system.
    func NewLifecycleSys() *LifecycleSys {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

    import java.util.List;
    
    import org.apache.maven.api.Lifecycle;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginExecution;
    
    public class Lifecycles {
    
        static Lifecycle.Phase phase(String name) {
            return new DefaultPhase(name, Collections.emptyList(), Collections.emptyList());
        }
    
        static Lifecycle.Phase phase(String name, Plugin plugin) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // so that they don't interfere with internally defined lifecycles.
    
            Map<String, Lifecycle> phaseToLifecycleMap = new HashMap<>();
    
            for (Lifecycle lifecycle : getLifeCycles()) {
                logger.debug("Lifecycle {}", lifecycle);
    
                for (String phase : lifecycle.getPhases()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

        @Nonnull
        String goal() default "";
    
        /**
         * Lifecycle id of the lifecycle that defines {@link #phase()}. Only valid in combination with {@link #phase()}. If
         * not specified, Maven will use the lifecycle of the current build.
         *
         * @see <a href="https://maven.apache.org/maven-plugin-api/lifecycle-mappings.html">Lifecycle Mappings</a>
         * @return the lifecycle id
         */
        @Nonnull
        String lifecycle() default "";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

     * under the License.
     */
    package org.apache.maven.lifecycle.providers.packaging;
    
    import javax.inject.Provider;
    
    import java.util.Collections;
    import java.util.HashMap;
    
    import org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping;
    import org.apache.maven.lifecycle.mapping.Lifecycle;
    import org.apache.maven.lifecycle.mapping.LifecycleMapping;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 15:34:45 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java

                            Lifecycle lifecycle = new Lifecycle();
    
                            lifecycle.setId(lifecycleId);
                            lifecycle.setLifecyclePhases(phases);
    
                            lifecycleMap.put(lifecycleId, lifecycle);
                        }
                    }
                }
            }
        }
    
        @Override
        public Map<String, Lifecycle> getLifecycles() {
            initLifecycleMap();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:46:36 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top