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

com.enonic.xp.issue.PublishRequestIssue Maven / Gradle / Ivy

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

public class PublishRequestIssue
    extends Issue
{
    private final PublishRequestIssueSchedule schedule;

    protected PublishRequestIssue( final Builder builder )
    {
        super( builder );
        schedule = builder.schedule;
    }

    public PublishRequestIssueSchedule getSchedule()
    {
        return schedule;
    }

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

    public static class Builder
        extends Issue.Builder
    {
        private PublishRequestIssueSchedule schedule;

        private Builder()
        {
            super();
            this.issueType = IssueType.PUBLISH_REQUEST;
        }

        public Builder schedule( final PublishRequestIssueSchedule schedule )
        {
            this.schedule = schedule;
            return this;
        }

        @Override
        public PublishRequestIssue build()
        {
            return new PublishRequestIssue( this );
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy