Package com.github.angleshq.angles
Class AnglesReporter
java.lang.Object
com.github.angleshq.angles.AnglesReporter
- All Implemented Interfaces:
AnglesReporterInterface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncompareScreenshotAgainstBaseline(String screenshotId) voidvoidvoidvoidvoidvoidstatic AnglesReporterInterfacegetInstance(String url) static AnglesReporterInterfacegetInstance(String url, org.apache.http.client.config.RequestConfig requestConfig) voidvoidstatic booleanvoidvoidvoidsaveTest()voidstatic voidsetEnabled(boolean enabled) This method allows you to disable angles (in case you wanted to have a local run).voidstartAction(String description) voidstartBuild(String name, String environmentName, String teamName, String componentName) voidstartBuild(String name, String environmentName, String teamName, String componentName, String phase) voidvoidvoidvoidstoreArtifacts(Artifact[] artifacts) voidstorePlatformDetails(Platform... platform) storeScreenshot(ScreenshotDetails details) voidupdateTestName(String testName)
-
Field Details
-
DEFAULT_ACTION_NAME
- See Also:
-
EMPTY_REPORTER_NAME
- See Also:
-
connectionTimeout
protected static int connectionTimeout -
socketTimeout
protected static int socketTimeout
-
-
Method Details
-
getInstance
-
getInstance
public static AnglesReporterInterface getInstance(String url, org.apache.http.client.config.RequestConfig requestConfig) -
startBuild
- Specified by:
startBuildin interfaceAnglesReporterInterface
-
startBuild
public void startBuild(String name, String environmentName, String teamName, String componentName, String phase) - Specified by:
startBuildin interfaceAnglesReporterInterface
-
storeArtifacts
- Specified by:
storeArtifactsin interfaceAnglesReporterInterface
-
startTest
- Specified by:
startTestin interfaceAnglesReporterInterface
-
updateTestName
- Specified by:
updateTestNamein interfaceAnglesReporterInterface
-
startTest
- Specified by:
startTestin interfaceAnglesReporterInterface
-
startTest
- Specified by:
startTestin interfaceAnglesReporterInterface
-
saveTest
public void saveTest()- Specified by:
saveTestin interfaceAnglesReporterInterface
-
storePlatformDetails
- Specified by:
storePlatformDetailsin interfaceAnglesReporterInterface
-
startAction
- Specified by:
startActionin interfaceAnglesReporterInterface
-
debug
- Specified by:
debugin interfaceAnglesReporterInterface
-
debug
- Specified by:
debugin interfaceAnglesReporterInterface
-
error
- Specified by:
errorin interfaceAnglesReporterInterface
-
error
- Specified by:
errorin interfaceAnglesReporterInterface
-
info
- Specified by:
infoin interfaceAnglesReporterInterface
-
info
- Specified by:
infoin interfaceAnglesReporterInterface
-
pass
- Specified by:
passin interfaceAnglesReporterInterface
-
pass
- Specified by:
passin interfaceAnglesReporterInterface
-
fail
- Specified by:
failin interfaceAnglesReporterInterface
-
fail
- Specified by:
failin interfaceAnglesReporterInterface
-
storeScreenshot
- Specified by:
storeScreenshotin interfaceAnglesReporterInterface
-
compareScreenshotAgainstBaseline
- Specified by:
compareScreenshotAgainstBaselinein interfaceAnglesReporterInterface
-
getBuildId
- Specified by:
getBuildIdin interfaceAnglesReporterInterface
-
setBuildToKeep
public void setBuildToKeep() -
setEnabled
public static void setEnabled(boolean enabled) This method allows you to disable angles (in case you wanted to have a local run).- Parameters:
enabled- e.g. false to disable reporting to angles (and you will get an empty reporter).
-
isEnabled
public static boolean isEnabled()
-