public List < Action > getPropertyActions ( ) { List < Action > actions = new ArrayList <> ( ) ; for ( UserProperty userProp : getProperties ( ) . values ( ) ) { if ( userProp instanceof Action ) { actions . add ( ( Action ) userProp ) ; } } return Collections . unmodifiableList ( actions ) ; }
Return all properties that are also actions .