- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getMediaFile (0.26 sec)
-
platforms/documentation/docs/src/snippets/dataflowActions/playSound/groovy/plugin/src/main/java/org/gradle/sample/sound/SoundPlay.java
@ServiceReference // <1> Property<SoundService> getSoundService(); @Input // <2> Property<File> getMediaFile(); } @Override public void execute(Parameters parameters) { parameters.getSoundService().get().playSoundFile(parameters.getMediaFile().get()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 706 bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/flow/FlowAction.java
* <pre class='autoTested'> * /** * * Plays a given {{@literal @}link Parameters#getMediaFile() media file} using {{@literal @}code ffplay}. * *{@literal /} * class FFPlay implements FlowAction<FFPlay.Parameters> { * * interface Parameters extends FlowParameters { * {@literal @}Input * Property<File> getMediaFile(); * } * * private final ExecOperations execOperations; *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 16 20:51:35 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dataflowActions/playSound/groovy/plugin/src/main/java/org/gradle/sample/sound/SoundFeedbackPlugin.java
final File soundsDir = new File(settings.getSettingsDir(), "sounds"); getFlowScope().always( // <2> SoundPlay.class, // <3> spec -> // <4> spec.getParameters().getMediaFile().set( getFlowProviders().getBuildWorkResult().map(result -> // <5> new File( soundsDir,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/flow/FlowProviders.java
* public void apply(Settings target) { * final File soundsDir = new File(target.getSettingsDir(), "sounds"); * flowScope.always(FFPlay.class, spec -> * spec.getParameters().getMediaFile().fileProvider( * flowProviders.getBuildWorkResult().map(result -> * new File( * soundsDir,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2.9K bytes - Viewed (0)