Package jetbrains.buildServer.web
Interface WebAccessHelper
-
public interface WebAccessHelperThe 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 booleanallowDownloadZip()Returns whether downloading all files in zip is allowed.StringgetDesiredId()Returns the desired id (would be used in UI).default StringgetEncoding(File file)Returns passed file assumed encodingStringgetFileNameForZip()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
-
-