src/main/java/org/intellimate/izou/sdk/frameworks/permanentSoundOutput/events/EndedEvent.java
public static Optional<EndedEvent> createEndedEvent(Identification source) {
        try {
            EndedEvent stopRequest = new EndedEvent(source);
            return Optional.of(stopRequest);
        } catch (IllegalArgumentException e) {
            return Optional.empty();
        }
    }
public static Optional<EndedEvent> createEndedEvent(Identification source) {
        try {
            EndedEvent stopRequest = new EndedEvent(source);
            return Optional.of(stopRequest);
        } catch (IllegalArgumentException e) {
            return Optional.empty();
        }
    }
public static Optional < EndedEvent > createEndedEvent ( Identification source ) { try { EndedEvent stopRequest = new EndedEvent ( source ) ; return Optional . of ( stopRequest ) ; } catch ( IllegalArgumentException e ) { return Optional . empty ( ) ; } }
creates a new EndedEvent
@param source the caller
@return the optional StartMusicRequest
creates a new EndedEvent