Skip to content

Commit

Permalink
Add Queueable Template
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Fairchild committed Mar 4, 2016
1 parent 31d87c8 commit fdc88d3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ApexClass/QueueableApexClass.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public class {{ api_name }} implements Queueable {
public void execute(QueueableContext context) {
//Do some action here
}
}
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,19 @@
}
]
},
{
"name":"Queueable",
"file_name":"QueueableApexClass.cls",
"description":"A Queueable class",
"author":"Michael Fairchild",
"params":[
{
"name":"api_name",
"description":"Apex Class API Name",
"default":"MyQueueableApexClass"
}
]
},
{
"name":"Schedulable",
"file_name":"SchedulableApexClass.cls",
Expand Down

0 comments on commit fdc88d3

Please sign in to comment.