jetbrains.buildServer.util.browser
Class ZipAwareBrowser

java.lang.Object
  extended by jetbrains.buildServer.util.browser.ZipAwareBrowser
All Implemented Interfaces:
Browser

public class ZipAwareBrowser
extends java.lang.Object
implements Browser

A decorator that supports traversing through zip (tar.gz, etc.) archives. The list of supported archives see in ArchiveUtil.getArchiveType(String).

Zip inside zip is supported.

Since:
7.0
Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Field Summary
static Behaviour BEHAVIOUR
           
 
Constructor Summary
ZipAwareBrowser(Browser browser)
           
ZipAwareBrowser(Browser browser, boolean expandNestedArchives)
           
 
Method Summary
 Behaviour getBehaviour()
          Returns the browser behaviour options.
 Element getRoot()
          Returns the root element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEHAVIOUR

public static final Behaviour BEHAVIOUR
Constructor Detail

ZipAwareBrowser

public ZipAwareBrowser(@NotNull
                       Browser browser)

ZipAwareBrowser

public ZipAwareBrowser(@NotNull
                       Browser browser,
                       boolean expandNestedArchives)
Method Detail

getRoot

@NotNull
public Element getRoot()
Description copied from interface: Browser
Returns the root element.

Specified by:
getRoot in interface Browser
Returns:
root element

getBehaviour

@NotNull
public Behaviour getBehaviour()
Description copied from interface: Browser
Returns the browser behaviour options.

For most implementations Behaviour.DEFAULT_BEHAVIOUR is returned.

Specified by:
getBehaviour in interface Browser
Returns:
browser behaviour