/* $Id$ */

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.manifoldcf.crawler.notifications.slack;

public class SlackMessage {

  private String channel;

  private String text;

  private boolean mrkdwn = true;

  public String getChannel() {
    return channel;
  }

  public void setChannel(String channel) {
    this.channel = channel;
  }

  public String getText() {
    return text;
  }

  public void setText(String text) {
    this.text = text;
  }

  public boolean isMrkdwn() {
    return mrkdwn;
  }

  public void setMrkdwn(boolean mrkdwn) {
    this.mrkdwn = mrkdwn;
  }

}

@@ -7,16 +7,13 @@
 $ */
-%0D%0A%0D
+%0A
 %0A/**
-%0D
 %0A* L
@@ -77,17 +77,16 @@
  or more
-%0D
 %0A* contr
@@ -144,25 +144,24 @@
 ributed with
-%0D
 %0A* this work
@@ -218,17 +218,16 @@
 nership.
-%0D
 %0A* The A
@@ -292,17 +292,16 @@
 sion 2.0
-%0D
 %0A* (the 
@@ -363,17 +363,16 @@
 nce with
-%0D
 %0A* the L
@@ -418,20 +418,18 @@
 cense at
-%0D
 %0A*
-%0D
 %0A* http:
@@ -469,12 +469,10 @@
 -2.0
-%0D
 %0A*
-%0D
 %0A* U
@@ -537,17 +537,16 @@
 software
-%0D
 %0A* distr
@@ -605,17 +605,16 @@
 %22 BASIS,
-%0D
 %0A* WITHO
@@ -680,17 +680,16 @@
 implied.
-%0D
 %0A* See t
@@ -750,17 +750,16 @@
 ions and
-%0D
 %0A* limit
@@ -787,13 +787,11 @@
 nse.
-%0D
 %0A*/
-%0D
 %0Apac
@@ -845,19 +845,17 @@
 s.slack;
-%0D%0A%0D
+%0A
 %0Apublic 
@@ -874,19 +874,17 @@
 essage %7B
-%0D%0A%0D
+%0A
 %0A  priva
@@ -901,19 +901,17 @@
 channel;
-%0D%0A%0D
+%0A
 %0A  priva
@@ -925,19 +925,17 @@
 ng text;
-%0D%0A%0D
+%0A
 %0A  priva
@@ -959,19 +959,17 @@
  = true;
-%0D%0A%0D
+%0A
 %0A  publi
@@ -987,25 +987,24 @@
 tChannel() %7B
-%0D
 %0A    return 
@@ -1007,32 +1007,29 @@
 urn channel;
-%0D
 %0A  %7D
-%0D%0A%0D
+%0A
 %0A  public vo
@@ -1059,17 +1059,16 @@
 annel) %7B
-%0D
 %0A    thi
@@ -1087,24 +1087,21 @@
 channel;
-%0D
 %0A  %7D
-%0D%0A%0D
+%0A
 %0A  publi
@@ -1116,25 +1116,24 @@
  getText() %7B
-%0D
 %0A    return 
@@ -1133,32 +1133,29 @@
 return text;
-%0D
 %0A  %7D
-%0D%0A%0D
+%0A
 %0A  public vo
@@ -1179,17 +1179,16 @@
  text) %7B
-%0D
 %0A    thi
@@ -1201,24 +1201,21 @@
  = text;
-%0D
 %0A  %7D
-%0D%0A%0D
+%0A
 %0A  publi
@@ -1236,17 +1236,16 @@
 kdwn() %7B
-%0D
 %0A    ret
@@ -1255,24 +1255,21 @@
  mrkdwn;
-%0D
 %0A  %7D
-%0D%0A%0D
+%0A
 %0A  publi
@@ -1302,17 +1302,16 @@
 rkdwn) %7B
-%0D
 %0A    thi
@@ -1332,16 +1332,12 @@
 dwn;
-%0D
 %0A  %7D
-%0D%0A%0D
+%0A
 %0A%7D
-%0D
 %0A

Set properties on new files