package com.utils;

import java.util.TimerTask;

import org.springframework.beans.factory.annotation.Autowired;

import com.linecorp.bot.client.LineMessagingService;
import com.linecorp.bot.model.PushMessage;

public class CCTask extends TimerTask {
	
	@Autowired
	private LineMessagingService retrofitImpl;
	
	public void run() {
//		PushMessage pushMessage = new PushMessage(to, messages)
//		retrofitImpl.pushMessage(pushMessage);
	}
}

@@ -13,16 +13,67 @@
 utils;%0A%0A
+import java.util.ArrayList;%0Aimport java.util.List;%0A
 import j
@@ -92,16 +92,16 @@
 erTask;%0A
-
 %0Aimport 
@@ -252,16 +252,114 @@
 Message;
+%0Aimport com.linecorp.bot.model.message.Message;%0Aimport com.linecorp.bot.model.message.TextMessage;
 %0A%0Apublic
@@ -394,16 +394,38 @@
 ask %7B%0A%09%0A
+%09private int i = 0;%0A%09%0A
 %09@Autowi
@@ -495,18 +495,107 @@
 run() %7B%0A
-//
+%09%09List%3CMessage%3E messages = new ArrayList%3C%3E();%0A%09%09messages.add(new TextMessage(%22%E6%B8%AC%E8%A9%A6%22 + i+1));%0A
 %09%09PushMe
@@ -630,18 +630,51 @@
 Message(
-to
+%22U220c4d64ae3d59601364677943517c91%22
 , messag
@@ -680,11 +680,10 @@
 ges)
+;
 %0A
-//
 %09%09re

add timer