public abstract class

AbstractProjectVisitor

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

Class Overview

A base implementation of ProjectVisitor which returns null for all project types.

Summary

Public Constructors
AbstractProjectVisitor()
Protected Constructors
AbstractProjectVisitor(T defaultValue)
Public Methods
T visit(Project project)
T visit(PersonalProject project)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.project.ProjectVisitor

Public Constructors

public AbstractProjectVisitor ()

Protected Constructors

protected AbstractProjectVisitor (T defaultValue)

Parameters
defaultValue the value to return when visiting a project, if not overridden in a subclass

Public Methods

public T visit (Project project)

Parameters
project ignored
Returns
  • null

public T visit (PersonalProject project)

Parameters
project ignored
Returns
  • null