@ThreadSafe public static final class DraftRevision.U extends Object
Modifier and Type | Method and Description |
---|---|
static String |
resolveLocation(PollwikiVS wiki,
String coreName,
CoreRevision core,
String codesvrLoc)
Constructs the URL of the draft for the named position core.
|
public static String resolveLocation(PollwikiVS wiki, String coreName, CoreRevision core, String codesvrLoc)
core
- the pre-constructed core revision, or null if none actually
exists in the wiki, in which case this method returns the URL of the
core position page.codesvrLoc
- the value of the gwt.codesvr
query parameter,
or null to not append this parameter. If the user is known to be running
GWT in dev mode, then specify this to yield a URL that preserves dev mode.