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

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

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

public class PushNodeEntry
{
    private final NodeBranchEntry nodeBranchEntry;

    private final NodePath currentTargetPath;

    private PushNodeEntry( final Builder builder )
    {
        nodeBranchEntry = builder.nodeBranchEntry;
        currentTargetPath = builder.currentTargetPath;
    }

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

    public NodeBranchEntry getNodeBranchEntry()
    {
        return nodeBranchEntry;
    }

    public NodePath getCurrentTargetPath()
    {
        return currentTargetPath;
    }

    public static final class Builder
    {
        private NodeBranchEntry nodeBranchEntry;

        private NodePath currentTargetPath;

        private Builder()
        {
        }

        public Builder nodeBranchEntry( final NodeBranchEntry val )
        {
            nodeBranchEntry = val;
            return this;
        }

        public Builder currentTargetPath( final NodePath val )
        {
            currentTargetPath = val;
            return this;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy