com.atlassian.confluence.api.nav
Interface Navigation.Builder

All Known Subinterfaces:
Navigation.ContentNav, Navigation.ExperimentalContentNav, Navigation.ExperimentalNav, Navigation.LongTaskNav, Navigation.SpaceContentNav, Navigation.SpaceNav, RestNavigation.RestBuilder
All Known Implementing Classes:
AbstractNav, ContentNavImpl, DelegatingPathBuilder, LongTaskNavImpl, SpaceNavBuilderImpl, SpaceNavBuilderImpl.SpaceContentNavImpl
Enclosing interface:
Navigation

public static interface Navigation.Builder


Field Summary
static Navigation.Builder NONE
          Some Model classes need to provide a builder, but don't need to provide any navigation.
 
Method Summary
 java.lang.String buildAbsolute()
          build an absolute URL http://localhost:8080/confluence/rest/of/url
 java.lang.String buildRelative()
          build a relative URL without webapp context, i.e.
 java.lang.String buildRelativeWithContext()
          build a relative URL with webapp context, i.e.
 

Field Detail

NONE

static final Navigation.Builder NONE
Some Model classes need to provide a builder, but don't need to provide any navigation. This no-op builder should be safe to use everywhere that a Navigation.Builder is expected.

Method Detail

buildAbsolute

java.lang.String buildAbsolute()
build an absolute URL http://localhost:8080/confluence/rest/of/url


buildRelative

java.lang.String buildRelative()
build a relative URL without webapp context, i.e. /rest/of/url


buildRelativeWithContext

java.lang.String buildRelativeWithContext()
build a relative URL with webapp context, i.e. /confluence/rest/of/url

Returns:


Copyright © 2003-2014 Atlassian. All Rights Reserved.