Package jetbrains.buildServer.web
Interface WebAccessHelper
-
public interface WebAccessHelper
The helper interface for providing additional information to theWebAccessService
.If the particular method returns
null
, the default implementation is used.- Since:
- 6.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
- See Also:
WebAccessService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
allowDownloadZip()
Returns whether downloading all files in zip is allowed.String
getDesiredId()
Returns the desired id (would be used in UI).default String
getEncoding(File file)
Returns passed file assumed encodingString
getFileNameForZip()
Returns the zip file name.
-
-
-
Method Detail
-
getDesiredId
@Nullable String getDesiredId()
Returns the desired id (would be used in UI).- Returns:
- desired id, or null
-
allowDownloadZip
boolean allowDownloadZip()
Returns whether downloading all files in zip is allowed.- Returns:
- true iff downloading all files in zip is allowed
-
getFileNameForZip
@Nullable String getFileNameForZip()
Returns the zip file name.- Returns:
- zip file name, or null
-
-