@SuppressWarnings("unused")
    public List<ResourceModel> resourcesForExisting() {
    """
	returns a List of Resources that can be added to an already existing event.
	<p>
	This causes the Addon to block the Event in the OutputPlugin lifecycle of the Event.
	@return a List of Resources
    """
        List<ResourceModel> resourceModels = new ArrayList<>();
        IdentificationManagerM.getInstance().getIdentification(identifiable)
                .map(id -> new MusicUsageResource(id, true))
                .ifPresent(resourceModels::add);
        if (volume != null) {
            IdentificationManagerM.getInstance().getIdentification(identifiable)
                    .map(id -> new VolumeResource(id, volume))
                    .ifPresent(resourceModels::add);
        }
        if (playlist != null) {
            IdentificationManagerM.getInstance().getIdentification(identifiable)
                    .map(id -> new PlaylistResource(id, playlist))
                    .ifPresent(resourceModels::add);
        }
        if (trackInfo != null) {
            IdentificationManagerM.getInstance().getIdentification(identifiable)
                    .map(id -> new TrackInfoResource(id, trackInfo))
                    .ifPresent(resourceModels::add);
        }
        return resourceModels;
    }
@SuppressWarnings("unused")
    public List<ResourceModel> resourcesForExisting() {
        List<ResourceModel> resourceModels = new ArrayList<>();
        IdentificationManagerM.getInstance().getIdentification(identifiable)
                .map(id -> new MusicUsageResource(id, true))
                .ifPresent(resourceModels::add);
        if (volume != null) {
            IdentificationManagerM.getInstance().getIdentification(identifiable)
                    .map(id -> new VolumeResource(id, volume))
                    .ifPresent(resourceModels::add);
        }
        if (playlist != null) {
            IdentificationManagerM.getInstance().getIdentification(identifiable)
                    .map(id -> new PlaylistResource(id, playlist))
                    .ifPresent(resourceModels::add);
        }
        if (trackInfo != null) {
            IdentificationManagerM.getInstance().getIdentification(identifiable)
                    .map(id -> new TrackInfoResource(id, trackInfo))
                    .ifPresent(resourceModels::add);
        }
        return resourceModels;
    }
@ SuppressWarnings ( "unused" ) public List < ResourceModel > resourcesForExisting ( ) { List < ResourceModel > resourceModels = new ArrayList <> ( ) ; IdentificationManagerM . getInstance ( ) . getIdentification ( identifiable ) . map ( id -> new MusicUsageResource ( id , true ) ) . ifPresent ( resourceModels :: add ) ; if ( volume != null ) { IdentificationManagerM . getInstance ( ) . getIdentification ( identifiable ) . map ( id -> new VolumeResource ( id , volume ) ) . ifPresent ( resourceModels :: add ) ; } if ( playlist != null ) { IdentificationManagerM . getInstance ( ) . getIdentification ( identifiable ) . map ( id -> new PlaylistResource ( id , playlist ) ) . ifPresent ( resourceModels :: add ) ; } if ( trackInfo != null ) { IdentificationManagerM . getInstance ( ) . getIdentification ( identifiable ) . map ( id -> new TrackInfoResource ( id , trackInfo ) ) . ifPresent ( resourceModels :: add ) ; } return resourceModels ; }
returns a List of Resources that can be added to an already existing event.
<p>
This causes the Addon to block the Event in the OutputPlugin lifecycle of the Event.
@return a List of Resources
returns a List of Resources that can be added to an already existing event . <p > This causes the Addon to block the Event in the OutputPlugin lifecycle of the Event .