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

com.enonic.xp.node.LoadNodeResult Maven / Gradle / Ivy

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

public class LoadNodeResult
{
    private final Node node;

    private LoadNodeResult( final Builder builder )
    {
        node = builder.node;
    }

    public Node getNode()
    {
        return node;
    }

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


    public static final class Builder
    {
        private Node node;

        private Builder()
        {
        }

        public Builder node( final Node val )
        {
            node = val;
            return this;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy