public abstract class

AbstractVoidProjectVisitor

extends Object
implements ProjectVisitor<T>
java.lang.Object
   ↳ com.atlassian.bitbucket.project.AbstractVoidProjectVisitor

Class Overview

A base implementation of ProjectVisitor intended for use in building visitors which do not need to return any values. Each visit method delegates to a doVisit method. While this class is abstract, visit methods for all types are implemented to delegate to a doVisit method and return null, and all doVisit methods are implemented as no-ops.

Summary

Public Constructors
AbstractVoidProjectVisitor()
Public Methods
Void visit(Project project)
Invokes doVisit(Project) and returns null.
Void visit(PersonalProject project)
Invokes doVisit(PersonalProject) and returns null.
Protected Methods
void doVisit(PersonalProject project)
void doVisit(Project project)
Called by visit(Project).
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.project.ProjectVisitor

Public Constructors

public AbstractVoidProjectVisitor ()

Public Methods

public Void visit (Project project)

Invokes doVisit(Project) and returns null.

Parameters
project the project to visit
Returns
  • null

public Void visit (PersonalProject project)

Invokes doVisit(PersonalProject) and returns null.

Parameters
project the personal project to visit
Returns
  • null

Protected Methods

protected void doVisit (PersonalProject project)

Called by visit(PersonalProject). This base implementation does nothing.

Parameters
project ignored

protected void doVisit (Project project)

Called by visit(Project). This base implementation does nothing.

Parameters
project ignored