public class Polyfill extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Polyfill.Builder
Using builder pattern to make sure Polyfill is immutable once constructed
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAliases() |
Map<String,String> |
getAllBrowserRequirements() |
String |
getBrowserRequirement(String browserName)
Gets the browser requirement based on browser name: e.g.
|
List<String> |
getDependencies()
Gets a list of dependencies
|
String |
getDetectSource()
Gets the source for detecting whether the polyfill is needed
|
String |
getLicense()
Gets the type of license of the polyfill implementation e.g.
|
String |
getMinSource()
Gets the minified source of the polyfill
|
String |
getName()
Gets the name of the polyfill: e.g.
|
String |
getRawSource()
Gets the raw source of the polyfill
|
String |
getRepository()
Gets the URL to the polyfill repository
|
String |
getTestsSource()
Gets the source of mocha tests
|
boolean |
isTestable()
Checks whether this polyfill has tests and is testable
|
String |
toString()
Gets the string representation of the polyfill
|
public String toString()
public String getName()
public List<String> getAliases()
public Map<String,String> getAllBrowserRequirements()
@Nullable public String getBrowserRequirement(String browserName)
browserName - browser namepublic List<String> getDependencies()
@Nullable public String getDetectSource()
@Nullable public String getMinSource()
@Nullable public String getRawSource()
@Nullable public String getLicense()
@Nullable public String getRepository()
@Nullable public String getTestsSource()
public boolean isTestable()
Copyright © 2017. All rights reserved.