public class ContentRenderingInstruction extends Object
The decision is made based on content ID values which are calculated based on the associated web component content. Depending on the instruction type these ID values can be calculated from the rendered content or custom custom values can be used to avoid unnecessary rendering.
Instances of this class are returned by ContentRenderingInstructionsProvider
implementations.
Modifier and Type | Method and Description |
---|---|
static ContentRenderingInstruction |
customContentId(String contentId)
Instruction to use the passed content ID value to make a desicion.
|
static ContentRenderingInstruction |
dontRender()
The associated component will not be rendered and output will not be sent to the client.
|
String |
getContentId() |
boolean |
isDontRender() |
boolean |
isRenderHtml() |
static ContentRenderingInstruction |
renderHtml()
The associated component will be rendered.
|
public static ContentRenderingInstruction dontRender()
public static ContentRenderingInstruction renderHtml()
public static ContentRenderingInstruction customContentId(String contentId)
public String getContentId()
public boolean isDontRender()
public boolean isRenderHtml()
Copyright © 2002-2018 Atlassian. All Rights Reserved.