All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.nokee.platform.nativebase.TargetMachineAwareComponent Maven / Gradle / Ivy

The newest version!
package dev.nokee.platform.nativebase;

import dev.nokee.runtime.nativebase.TargetMachine;
import org.gradle.api.provider.SetProperty;

/**
 * Represents a component that targets multiple target machines.
 * @since 0.4
 */
public interface TargetMachineAwareComponent {
	/**
	 * Specifies the target machines this component should be built for.
	 * The {@link #getMachines()} property (see {@link TargetMachineFactory}) can be used to construct common operating system and architecture combinations.
	 *
	 * 

For example:

*
	 * targetMachines = [machines.linux.x86_64, machines.windows.x86_64]
	 * 
* * @return a property for configuring the {@link TargetMachine}, never null. */ SetProperty getTargetMachines(); /** * Returns a factory to create target machines when configuring {@link #getTargetMachines()}. * * @return a {@link TargetMachineFactory} for creating {@link TargetMachine} instance, never null. */ TargetMachineFactory getMachines(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy