Skip to content

Commit

Permalink
Merge pull request jelastic-jps#7 from vlobzakov/master
Browse files Browse the repository at this point in the history
Input pars validation
  • Loading branch information
sych74 committed Oct 20, 2020
2 parents eef6c4a + 357559a commit 8edd60e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,14 @@ settings:
- caption:
type: displayfield

onInstall: create
onInstall:
- if (!${settings.stopCron} || !${settings.sun1} && !${settings.mon1} && !${settings.wed1} && !${settings.thu1} && !${settings.fri1} && !${settings.sat1} ) && (!${settings.startCron} || !${settings.sun2} && !${settings.mon2} && !${settings.tue2} && !${settings.wed2} && !${settings.thu2} && !${settings.fri2} && !${settings.sat2}) :
stopEvent:
type: error
message: You haven't specified any parameters to start or stop your environment

- create

onUninstall: uninstall
onBeforeDelete: uninstall
actions:
Expand Down

0 comments on commit 8edd60e

Please sign in to comment.