toValue method
Implementation
String toValue() {
switch (this) {
case ArtifactType.unknown:
return 'UNKNOWN';
case ArtifactType.screenshot:
return 'SCREENSHOT';
case ArtifactType.deviceLog:
return 'DEVICE_LOG';
case ArtifactType.messageLog:
return 'MESSAGE_LOG';
case ArtifactType.videoLog:
return 'VIDEO_LOG';
case ArtifactType.resultLog:
return 'RESULT_LOG';
case ArtifactType.serviceLog:
return 'SERVICE_LOG';
case ArtifactType.webkitLog:
return 'WEBKIT_LOG';
case ArtifactType.instrumentationOutput:
return 'INSTRUMENTATION_OUTPUT';
case ArtifactType.exerciserMonkeyOutput:
return 'EXERCISER_MONKEY_OUTPUT';
case ArtifactType.calabashJsonOutput:
return 'CALABASH_JSON_OUTPUT';
case ArtifactType.calabashPrettyOutput:
return 'CALABASH_PRETTY_OUTPUT';
case ArtifactType.calabashStandardOutput:
return 'CALABASH_STANDARD_OUTPUT';
case ArtifactType.calabashJavaXmlOutput:
return 'CALABASH_JAVA_XML_OUTPUT';
case ArtifactType.automationOutput:
return 'AUTOMATION_OUTPUT';
case ArtifactType.appiumServerOutput:
return 'APPIUM_SERVER_OUTPUT';
case ArtifactType.appiumJavaOutput:
return 'APPIUM_JAVA_OUTPUT';
case ArtifactType.appiumJavaXmlOutput:
return 'APPIUM_JAVA_XML_OUTPUT';
case ArtifactType.appiumPythonOutput:
return 'APPIUM_PYTHON_OUTPUT';
case ArtifactType.appiumPythonXmlOutput:
return 'APPIUM_PYTHON_XML_OUTPUT';
case ArtifactType.explorerEventLog:
return 'EXPLORER_EVENT_LOG';
case ArtifactType.explorerSummaryLog:
return 'EXPLORER_SUMMARY_LOG';
case ArtifactType.applicationCrashReport:
return 'APPLICATION_CRASH_REPORT';
case ArtifactType.xctestLog:
return 'XCTEST_LOG';
case ArtifactType.video:
return 'VIDEO';
case ArtifactType.customerArtifact:
return 'CUSTOMER_ARTIFACT';
case ArtifactType.customerArtifactLog:
return 'CUSTOMER_ARTIFACT_LOG';
case ArtifactType.testspecOutput:
return 'TESTSPEC_OUTPUT';
}
}