@ParametersAreNonnullByDefault public class AddWatchLink extends Object
Constructor and Description |
---|
AddWatchLink(AbstractPage page)
Create a link to represent adding a watch on a page
|
AddWatchLink(Space space,
ContentTypeEnum contentType)
Create a link to represent adding a watch on a page
|
Modifier and Type | Method and Description |
---|---|
Addressable |
getContent() |
String |
getContentName() |
String |
getUrl() |
public AddWatchLink(AbstractPage page)
page
- The page to be watchedpublic AddWatchLink(Space space, @Nullable ContentTypeEnum contentType)
space
- The space to be watchedcontentType
- Used to define whether space watches are for blogs only or all contentpublic String getUrl()
public Addressable getContent()
public String getContentName()
Copyright © 2003–2017 Atlassian. All rights reserved.