All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.region.LayoutRegions Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.region;

import com.enonic.xp.annotation.PublicApi;

@PublicApi
public final class LayoutRegions
    extends AbstractRegions
{
    private LayoutRegions( final Builder builder )
    {
        super( builder );
    }

    public static Builder create()
    {
        return new Builder();
    }

    public static Builder create( final LayoutRegions source )
    {
        return new Builder( source );
    }

    @Override
    public LayoutRegions copy()
    {
        return LayoutRegions.create( this ).build();
    }

    public static class Builder
        extends AbstractRegions.Builder
    {
        private Builder( final LayoutRegions source )
        {
            super( source );
        }

        private Builder()
        {
            // Default
        }

        public LayoutRegions build()
        {
            return new LayoutRegions( this );
        }
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy