parseArtifacts() {
		if (this.__downloads && this.isRequired()) {
			// Check for natives and classifiers, otherwise just use the artifact if it exists.
			if (this.__natives && this.__downloads.classifiers) {
				let native = this.__natives[env.get("os")];
				if (native) {
					return this.__downloads.classifiers[native];
				}
			} else {
				if (this.__downloads.artifact) {
					return this.__downloads.artifact;
				}
			}
		}
		return undefined;
	}
/**
	 * * @todo There may be a chance that native classifiers can be downloaded without explicitly
	 * specifying natives. This can be seen with the 'ca.weblite:java-objc-bridge:1.0.0' for OS X.
	 * This should be checked andy verified, because it could change the logic behind this.
	 *
	 * Parse the given data, and figure the primary artifact
	 */
@todo There may be a chance that native classifiers can be downloaded without explicitly
specifying natives. This can be seen with the 'ca.weblite:java-objc-bridge:1.0.0' for OS X.
This should be checked andy verified, because it could change the logic behind this.

Parse the given data, and figure the primary artifact
@todo There may be a chance that native classifiers can be downloaded without explicitly specifying natives . This can be seen with the ' ca . weblite : java - objc - bridge : 1 . 0 . 0 ' for OS X . This should be checked andy verified because it could change the logic behind this . Parse the given data and figure the primary artifact
parseArtifacts() {
		if (this.__downloads && this.isRequired()) {
			if (this.__natives && this.__downloads.classifiers) {
				let native = this.__natives[env.get("os")];
				if (native) {
					return this.__downloads.classifiers[native];
				}
			} else {
				if (this.__downloads.artifact) {
					return this.__downloads.artifact;
				}
			}
		}
		return undefined;
	}
parseArtifacts ( ) { if ( this . __downloads && this . isRequired ( ) ) { if ( this . __natives && this . __downloads . classifiers ) { let native = this . __natives [ env . get ( "os" ) ] ; if ( native ) { return this . __downloads . classifiers [ native ] ; } } else { if ( this . __downloads . artifact ) { return this . __downloads . artifact ; } } } return undefined ; }
* @todo There may be a chance that native classifiers can be downloaded without explicitly
 specifying natives.
* @todo There may be a chance that native classifiers can be downloaded without explicitly specifying natives .
// Check for natives and classifiers, otherwise just use the artifact if it exists.